Skip to content

Commit

Permalink
Enable GPU code paths if appropriate Loki transformation is used
Browse files Browse the repository at this point in the history
  • Loading branch information
awnawab committed Oct 8, 2024
1 parent 5b87f5f commit 4a43376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/ecwam_expand_drv_types.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ macro( ecwam_expand_drv_types )
list(APPEND FYPP_ARGS -DPARKIND1_SINGLE_NEMO)
endif()

if( HAVE_ACC )
if( HAVE_LOKI AND NOT LOKI_MODE MATCHES "idem|idem-stack" )
list(APPEND FYPP_ARGS -DWAM_GPU)
endif()

Expand Down

0 comments on commit 4a43376

Please sign in to comment.