[BUG]: thrust/system/cuda/detail/util.h missing include header for std::terminate #1278
Closed
1 task done
Labels
bug
Something isn't working right.
Is this a duplicate?
Type of Bug
Compile-time Error
Component
CUB
Describe the bug
#include "cub/cub.cuh"
fails with the error message:I was able to workaround the issue by adding
#include <exception>
before#include "cub/cub.cuh"
; it looks like the header file is missing an include forstd::terminate
.Note: I'm using a fairly non-standard build environment (clang with libc++ instead of libstdc++).
Here is the file that produces the error: https://github.com/spaceandtimelabs/blitzar/blob/95823fcd5f2cae49bebcdf27da2cbf393ad3a7d1/sxt/algorithm/transform/prefix_scan.cc
How to Reproduce
You can reproduce the issue by following the build instructions here: https://github.com/spaceandtimelabs/blitzar/tree/95823fcd5f2cae49bebcdf27da2cbf393ad3a7d1?tab=readme-ov-file#usage
for the commit spaceandtimelabs/blitzar@95823fc
Expected behavior
No compilation error
Reproduction link
No response
Operating System
No response
nvidia-smi output
No response
NVCC version
The text was updated successfully, but these errors were encountered: