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 /lib/make/force-reconfigure | |
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 'lib/make/force-reconfigure')
-rw-r--r-- | lib/make/force-reconfigure | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/make/force-reconfigure b/lib/make/force-reconfigure index 53750b59..dbac1c08 100644 --- a/lib/make/force-reconfigure +++ b/lib/make/force-reconfigure @@ -30,3 +30,4 @@ 30 Mar 2011: Add variables MAKE, TAR, GZIP_CMD, PATCH, GIT 26 Apr 2011: Add CCTK_BUILTIN_EXPECT 27 Jun 2011: Add HAVE_SCHED_H +01 May 2012: Add OpenCL support |