Skip to content

Commit cc8cd81

Browse files
committed
Remove autocompare as failing debug cases, fix COMPILER_ID bug
1 parent d52abd2 commit cc8cd81

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ function(MFC_SETUP_TARGET)
530530

531531
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
532532
target_compile_options(${a_target}
533-
PRIVATE -gpu=autocompare,debug
533+
PRIVATE -gpu=debug
534534
)
535535
endif()
536536
elseif(CMAKE_Fortran_COMPILER_ID STREQUAL "Cray")

src/common/include/omp_macros.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
#:def OMP_LOOP(collapse=None, parallelism=None, data_dependency=None, reduction=None, reductionOp=None, private=None, extraOmpArgs=None)
235235
#:if MFC_COMPILER == NVIDIA_COMPILER_ID or MFC_COMPILER == PGI_COMPILER_ID
236236
#:set omp_directive = '!$omp loop bind(thread)'
237-
#:elif MFC_COMPILER == CRAY_COMPILER_ID or MFC_COMPILER == AMD_COMPILER_ID
237+
#:elif MFC_COMPILER == CCE_COMPILER_ID or MFC_COMPILER == AMD_COMPILER_ID
238238
#:set omp_directive = ''
239239
#:else
240240
#:set omp_directive = ''

0 commit comments

Comments
 (0)