[ET Trac] [Einstein Toolkit] #847: Support OpenCL source code
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Tue May 1 11:18:55 CDT 2012
#847: Support OpenCL source code
-------------------------+--------------------------------------------------
Reporter: eschnett | Owner:
Type: enhancement | Status: new
Priority: major | Milestone:
Component: Cactus | Version:
Keywords: |
-------------------------+--------------------------------------------------
OpenCL source code needs to be compiled at run time, and thus needs to be
passed as string to the OpenCL run-time library. This makes writing OpenCL
source code inconvenient.
This patch adds *.cl as supported file type to Cactus. *.cl files are
transformed into globally visible strings, with a name consisting of the
thorn name and file name. These strings can then be easily used at run
time to build and run OpenCL code.
Since *.cl files are converted to strings (and are not OpenCL-compiled at
build time), there are no CL* options specifying compiler type, compiler
flags etc.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/847>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list