-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
Invoking jitify with the following source file:
#include <limits>
#include <cuda/std/limits>
as follows:
jitify2_preprocess -std=c++11 -D__CUDACC_RTC__ test.hpp
results in:
Error processing source file test.hpp
Compilation failed: NVRTC_ERROR_COMPILATION
Compiler options: "-std=c++11 -D__CUDACC_RTC__ -include=jitify_preinclude.h -default-device"
detail/libcxx/include/limits(211): error: identifier "__CHAR_BIT__" is undefined
detail/libcxx/include/limits(312): error: identifier "__FLT_MANT_DIG__" is undefined
detail/libcxx/include/limits(313): error: identifier "__FLT_DIG__" is undefined
detail/libcxx/include/limits(321): error: identifier "__FLT_RADIX__" is undefined
detail/libcxx/include/limits(325): error: identifier "__FLT_MIN_EXP__" is undefined
<many more similar errors>
As a workaround I can do:
include <limits>
#include <cuda/std/climits>
#include <cuda/std/limits>
Metadata
Metadata
Assignees
Labels
No labels