diff options
author | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2012-05-02 00:26:14 +0000 |
---|---|---|
committer | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2012-05-02 00:26:14 +0000 |
commit | b7e100f8ac916f47f4a6b01002bd5157a2eccdf0 (patch) | |
tree | 013aee66410b173897b28b4a8783473f10a6493a /doc/UsersGuide.pdf | |
parent | 9ebfa0fd87f4582f90f58f979e5a5b8deb659501 (diff) |
Support OpenCL source code (.cl files)
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.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4808 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc/UsersGuide.pdf')
-rw-r--r-- | doc/UsersGuide.pdf | bin | 875651 -> 790896 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/doc/UsersGuide.pdf b/doc/UsersGuide.pdf Binary files differindex a3db342c..c4b90484 100644 --- a/doc/UsersGuide.pdf +++ b/doc/UsersGuide.pdf |