diff --git a/openmp/runtime/src/include/ompx.h.var b/openmp/runtime/src/include/ompx.h.var index 6884745f4240..a79ec34b81fa 100644 --- a/openmp/runtime/src/include/ompx.h.var +++ b/openmp/runtime/src/include/ompx.h.var @@ -9,7 +9,7 @@ #ifndef __OMPX_H #define __OMPX_H -#if (defined(__NVPTX__) || defined(__AMDGPU__)) +#if (defined(__NVPTX__) || defined(__AMDGPU__) || defined(__SPIRV__)) #include #define __OMPX_TARGET_IS_GPU #endif