OpenMP-Validation-and-Verification / OpenMP_VV

OpenMP Offloading Validation & Verification Suite; Official repository. We have migrated from bitbucket!! For documentation, results, publication and presentations, please check out our website ->
https://crpl.cis.udel.edu/ompvvsollve/
Other
54 stars 19 forks source link

5.2 otherwise clause on metadirective construct newtest #742

Closed andrewkallai closed 1 year ago

andrewkallai commented 1 year ago

clang version 17.0.0 InstalledDir: /sw/summit/ums/stf010/llvm/17.0.0-20230501/bin PASS warning: extra tokens at the end of '#pragma omp nothing' are ignored [-Wextra-tokens] when(device = {kind(host)}: nothing) \ test_metadirective_otherwise.c.o: [OMPVV_INFO: test_metadirective_otherwise.c:53] Test is running on device. [OMPVV_INFO: test_metadirective_otherwise.c:55] The value of errors is 0. [OMPVV_RESULT: test_metadirective_otherwise.c] Test passed on the device. gcc (GCC) 13.1.1 20230614 [devel/omp/gcc-13 aa827ff02ec] FAIL In function 'test_otherwise': /autofs/nccs-svm1_home1/andrewka/sollve_vv/tests/5.2/metadirective/test_metadirective_otherwise.c:35:14: error: expected 'when' or 'default' before '(' token 35 | otherwise(parallel for) /autofs/nccs-svm1_home1/andrewka/sollve_vv/tests/5.2/metadirective/test_metadirective_otherwise.c:39:30: error: expected end of line before 'update' 39 | #pragma omp atomic update nvc 22.5-0 linuxpower target on Linuxpower FAIL line 34: error: invalid text in pragma when(device = {kind(host)}: nothing) \ line 35: error: extra text after expected end of preprocessing directive otherwise(parallel for)