summaryrefslogtreecommitdiff
path: root/lib/make/make.config.defn.in
diff options
context:
space:
mode:
authoreschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2012-05-02 00:26:14 +0000
committereschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac>2012-05-02 00:26:14 +0000
commitb7e100f8ac916f47f4a6b01002bd5157a2eccdf0 (patch)
tree013aee66410b173897b28b4a8783473f10a6493a /lib/make/make.config.defn.in
parent9ebfa0fd87f4582f90f58f979e5a5b8deb659501 (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/make.config.defn.in')
-rw-r--r--lib/make/make.config.defn.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/make/make.config.defn.in b/lib/make/make.config.defn.in
index f894820c..b8739498 100644
--- a/lib/make/make.config.defn.in
+++ b/lib/make/make.config.defn.in
@@ -146,6 +146,7 @@ export CACTUSLIBLINKLINE = @CACTUSLIBLINKLINE@
# Dependency file generation
export C_DEPEND = @C_DEPEND@
export CXX_DEPEND = @CXX_DEPEND@
+export CL_DEPEND = @CL_DEPEND@
export F77_DEPEND = @F77_DEPEND@
export F_DEPEND = @F_DEPEND@
export F_DEPEND_MODULES = @F_DEPEND_MODULES@
@@ -153,6 +154,7 @@ export CU_DEPEND = @CU_DEPEND@
export C_DEPEND_OUT = @C_DEPEND_OUT@
export CXX_DEPEND_OUT = @CXX_DEPEND_OUT@
+export CL_DEPEND_OUT = @CL_DEPEND_OUT@
export F77_DEPEND_OUT = @F77_DEPEND_OUT@
export F_DEPEND_OUT = @F_DEPEND_OUT@
export F_DEPEND_MODULES_OUT = @F_DEPEND_MODULES_OUT@
@@ -167,6 +169,7 @@ export F90_SUFFIX = @F90_SUFFIX@
# How to postprocess object files
export C_POSTPROCESSING = @C_POSTPROCESSING@
export CXX_POSTPROCESSING = @CXX_POSTPROCESSING@
+export CL_POSTPROCESSING = @CL_POSTPROCESSING@
export F77_POSTPROCESSING = @F77_POSTPROCESSING@
export F_POSTPROCESSING = @F_POSTPROCESSING@
export F90_POSTPROCESSING = @F90_POSTPROCESSING@