We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a0342e commit c80af01Copy full SHA for c80af01
src/scalable_ccd/cuda/utils/assert.cuh
@@ -21,7 +21,8 @@ inline void gpuAssert(
21
cudaGetErrorString(code), file, line);
22
if (throw_on_error) {
23
assert(code == cudaSuccess);
24
- throw std::runtime_error(fmt::format("CUDA error {}", code));
+ throw std::runtime_error(
25
+ fmt::format("CUDA error {}", static_cast<int>(code)));
26
}
27
28
0 commit comments