[Openmp-commits] [clang] [openmp] [OFFLOAD] Build DeviceRTL with SPIRV backend (PR #174675)

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Fri Jan 9 12:20:57 PST 2026


================
@@ -18,7 +18,7 @@
 #define __GPUINTRIN_H
 
 #if !defined(_DEFAULT_FN_ATTRS)
-#if defined(__HIP__) || defined(__CUDA__)
+#if defined(__HIP__) || defined(__CUDA__) || defined(__SPIRV__)
----------------
jhuber6 wrote:

SPIR-V is the target, this would only make sense if we were targeting SYCL.

https://github.com/llvm/llvm-project/pull/174675


More information about the Openmp-commits mailing list