Skip to content

Commit 466c95b

Browse files
author
Thomas Jackson
committed
Fix OpenMP declare target syntax for surface thermochemistry
1 parent 3250eeb commit 466c95b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

toolchain/mfc/run/input.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def generate_surface_thermochem(self, sol, surface, directive_str=None) -> str:
135135
"""Generate the MFC heterogeneous surface-chemistry Fortran module."""
136136

137137
if directive_str == "mp":
138-
gpu_routine_define = "#define GPU_ROUTINE(name) !$omp declare target enter(name) device_type(any)"
138+
gpu_routine_define = "#define GPU_ROUTINE(name) !$omp declare target to(name) device_type(any)"
139139
elif directive_str == "acc":
140140
gpu_routine_define = "#define GPU_ROUTINE(name) !$acc routine seq"
141141
else:

0 commit comments

Comments
 (0)