================ @@ -27,6 +27,8 @@ extern "C" { #endif +#if !defined(__CUDA_ARCH__) + ---------------- sarnex wrote: @compnerd @Bigcheese Do you mind taking a look at Artem's questions above? Thx https://github.com/llvm/llvm-project/pull/128222