aboutsummaryrefslogtreecommitdiff
path: root/Examples/SimpleWaveOpenCL/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/SimpleWaveOpenCL/schedule.ccl')
-rw-r--r--Examples/SimpleWaveOpenCL/schedule.ccl27
1 files changed, 15 insertions, 12 deletions
diff --git a/Examples/SimpleWaveOpenCL/schedule.ccl b/Examples/SimpleWaveOpenCL/schedule.ccl
index 13a096e..ec20325 100644
--- a/Examples/SimpleWaveOpenCL/schedule.ccl
+++ b/Examples/SimpleWaveOpenCL/schedule.ccl
@@ -33,12 +33,6 @@ schedule SimpleWaveOpenCL_Startup at STARTUP
OPTIONS: meta
} "create banner"
-schedule SimpleWaveOpenCL_RegisterVars in MoL_Register
-{
- LANG: C
- OPTIONS: meta
-} "Register Variables for MoL"
-
schedule SimpleWaveOpenCL_RegisterSymmetries in SymmetryRegister
{
LANG: C
@@ -48,17 +42,20 @@ schedule SimpleWaveOpenCL_RegisterSymmetries in SymmetryRegister
schedule initial_sine AT INITIAL
{
LANG: C
- # TAGS: OpenCL=1
- READS: grid::coordinates
- WRITES: SimpleWaveOpenCL::evolved_group
+ TAGS: Device=1
+ READS: grid::x
+ WRITES: SimpleWaveOpenCL::phi
+ WRITES: SimpleWaveOpenCL::pi
} "initial_sine"
schedule calc_rhs in MoL_CalcRHS
{
LANG: C
- # TAGS: OpenCL=1
- READS: SimpleWaveOpenCL::evolved_group
- WRITES: SimpleWaveOpenCL::evolved_grouprhs
+ TAGS: Device=1
+ READS: SimpleWaveOpenCL::phi
+ READS: SimpleWaveOpenCL::pi
+ WRITES: SimpleWaveOpenCL::phirhs
+ WRITES: SimpleWaveOpenCL::pirhs
} "calc_rhs"
schedule SimpleWaveOpenCL_SelectBoundConds in MoL_PostStep
@@ -74,6 +71,12 @@ schedule SimpleWaveOpenCL_CheckBoundaries at BASEGRID
OPTIONS: meta
} "check boundaries treatment"
+schedule SimpleWaveOpenCL_RegisterVars in MoL_Register
+{
+ LANG: C
+ OPTIONS: meta
+} "Register Variables for MoL"
+
schedule group ApplyBCs as SimpleWaveOpenCL_ApplyBCs in MoL_PostStep after SimpleWaveOpenCL_SelectBoundConds
{
# no language specified