From d4b9320a39301cd2dc902e25bc736ad19f84bc23 Mon Sep 17 00:00:00 2001 From: Spencer Bryngelson Date: Tue, 16 Jun 2026 11:30:33 -0400 Subject: [PATCH] Cray CCE: drop simd from GPU offload directive (cleanup; correctness- and performance-neutral) --- src/common/include/omp_macros.fpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/include/omp_macros.fpp b/src/common/include/omp_macros.fpp index cdf49db773..ff3d97fe5c 100644 --- a/src/common/include/omp_macros.fpp +++ b/src/common/include/omp_macros.fpp @@ -179,7 +179,7 @@ #:if MFC_COMPILER == NVIDIA_COMPILER_ID or MFC_COMPILER == PGI_COMPILER_ID #:set omp_start_directive = '!$omp target teams loop defaultmap(firstprivate:scalar) bind(teams,parallel) ' #:elif MFC_COMPILER == CCE_COMPILER_ID - #:set omp_start_directive = '!$omp target teams distribute parallel do simd defaultmap(firstprivate:scalar) ' + #:set omp_start_directive = '!$omp target teams distribute parallel do defaultmap(firstprivate:scalar) ' #:elif MFC_COMPILER == AMD_COMPILER_ID #:set omp_start_directive = '!$omp target teams distribute parallel do ' #:else @@ -194,7 +194,7 @@ #:if MFC_COMPILER == NVIDIA_COMPILER_ID or MFC_COMPILER == PGI_COMPILER_ID #:set omp_end_directive = '!$omp end target teams loop' #:elif MFC_COMPILER == CCE_COMPILER_ID - #:set omp_end_directive = '!$omp end target teams distribute parallel do simd' + #:set omp_end_directive = '!$omp end target teams distribute parallel do' #:elif MFC_COMPILER == AMD_COMPILER_ID #:set omp_end_directive = '!$omp end target teams distribute parallel do' #:else