Skip to content

Commit

Permalink
fix assert in cuda wrapper code
Browse files Browse the repository at this point in the history
  • Loading branch information
marenz2569 committed Nov 26, 2024
1 parent 5ae3e40 commit 0ba17e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/firestarter/Cuda/CudaHipCompat.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ template <typename T> void accellSafeCall(T TVal, const char* File, const int Li
}
} else if constexpr (std::is_same_v<T, CUresult>) {
#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;
Expand Down

0 comments on commit 0ba17e0

Please sign in to comment.