diff --git a/include/firestarter/Cuda/CudaHipCompat.hpp b/include/firestarter/Cuda/CudaHipCompat.hpp index f0543f4d..1651606e 100644 --- a/include/firestarter/Cuda/CudaHipCompat.hpp +++ b/include/firestarter/Cuda/CudaHipCompat.hpp @@ -370,7 +370,7 @@ template void accellSafeCall(T TVal, const char* File, const int Li } } else if constexpr (std::is_same_v) { #ifndef FIRESTARTER_BUILD_CUDA - static_assert(false, "Tried to call accellSafeCall with CUresult, but not building for CUDA."); + assert(false && "Tried to call accellSafeCall with CUresult, but not building for CUDA."); #endif if (TVal == CUDA_SUCCESS) { return;