From a06645d9ddc2e35390881df286351d50746ed226 Mon Sep 17 00:00:00 2001 From: Ian Hinder Date: Wed, 21 Mar 2012 20:06:56 +0100 Subject: Regenerate WaveCaKernel and WaveHost --- Examples/WaveCaKernel/cakernel.ccl | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'Examples/WaveCaKernel/cakernel.ccl') diff --git a/Examples/WaveCaKernel/cakernel.ccl b/Examples/WaveCaKernel/cakernel.ccl index 2b33cf1..880152a 100644 --- a/Examples/WaveCaKernel/cakernel.ccl +++ b/Examples/WaveCaKernel/cakernel.ccl @@ -1,4 +1,31 @@ -CCTK_CUDA_KERNEL calc_rhs TYPE=gpu_cuda/3dblock TILE="8,8,8" SHARECODE=yes STENCIL="1,1,1,1,1,1" +CCTK_CUDA_KERNEL calc_rhs_2 TYPE=gpu_cuda/3dblock TILE="8,8,8" SHARECODE=yes STENCIL="1,1,1,1,1,1" +{ + CCTK_CUDA_KERNEL_VARIABLE cached=no intent=in + { + phi + } + "phi" + + CCTK_CUDA_KERNEL_VARIABLE cached=no intent=out + { + phirhs + } + "phirhs" + + CCTK_CUDA_KERNEL_VARIABLE cached=no intent=in + { + pi + } + "pi" + + CCTK_CUDA_KERNEL_VARIABLE cached=no intent=out + { + pirhs + } + "pirhs" +} + +CCTK_CUDA_KERNEL calc_rhs_4 TYPE=gpu_cuda/3dblock TILE="8,8,8" SHARECODE=yes STENCIL="2,2,2,2,2,2" { CCTK_CUDA_KERNEL_VARIABLE cached=no intent=in { -- cgit v1.2.3