mirror of
https://github.com/boostorg/smart_ptr.git
synced 2026-02-04 14:25:19 +01:00
nvcc seems to use the host compiler for preprocessing the source for the device and host compilation. When compiling the host code with the host compiler (clang), `__builtin_assume` is detected correctly and is also available during compilation. When compiling the device code with nvcc, this builtin function is not available.