OpenMP_VV
OpenMP_VV copied to clipboard
metadirective_arch_is_nvidia.c test halting testsuite from running on Intel GPU
Test that it applies to 5.0 test_metadirective_arch_is_nvidia Compiler Intel's ICX OneAPI compiler Accelerator hardware Intel XeHP_SDV GPU
Describe the bug
When running on Intel GPU, getting error:
error: expected an OpenMP directive #pragma omp atomic write ^ sollve_vv/tests/5.0/metadirective/test_metadirective_arch_is_nvidia.c:39:6: error: expected an OpenMP directive sollve_vv/tests/5.0/metadirective/test_metadirective_arch_is_nvidia.c:39:6: error: expected an OpenMP directive sollve_vv/tests/5.0/metadirective/test_metadirective_arch_is_nvidia.c:39:6: error: expected an OpenMP directive
which ends with
fatal error: too many errors emitted, stopping now [-ferror-limit=]
This test has to be removed when running the testsuite as it halts the suite.
Curiously, the metadirective_arch_nvidia_or_amd.c test fails (as expected) but does not stop the testsuite from running.