You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compilation Environment: Operating System Ubuntu 20.04
CUDA 12.3
NVIDIA-OptiX-SDK-8.0.0
GCC 11.4
G++ 11.4
cmake 3.28.1
Compiling PBRT with double precision (-DPBRT_FLOAT_AS_DOUBLE=ON) resulted in the following error:
Compilation Environment: Operating System Ubuntu 20.04
CUDA 12.3
NVIDIA-OptiX-SDK-8.0.0
GCC 11.4
G++ 11.4
cmake 3.28.1
Compiling PBRT with double precision (-DPBRT_FLOAT_AS_DOUBLE=ON) resulted in the following error:
Compiling with single precision (-DPBRT_FLOAT_AS_DOUBLE=OFF) compiles successfully:
/usr/local/cuda-12.1/bin/nvcc -forward-unknown-to-host-compiler -DPBRT_BUILD_GPU_RENDERER -DPBRT_FLOAT_AS_DT_HAVE_POSIX_MEMALIGN -DPBRT_IS_LINUX -DPBRT_NOINLINE="attribute((noinline))" -DPBRT_RESTRICT=restrict -DPTEX_STATIC --lib.dir/includes_CUDA.rsp -Xnvlink -suppress-stack-size-warning --gpu-architecture=sm_80 -O3 -DNDEBUG -std=c++17 -Xcudafe --diaXcudafe --diag_suppress=virtual_function_decl_hidden -Xcudafe --diag_suppress=integer_sign_change -Xcudafe --diag_suppress=declafe --diag_suppress=implicit_return_from_non_void_function -Xcompiler -march=native --std=c++17 --use_fast_math --expt-relaxed--forward-unknown-to-host-compiler -lineinfo -maxrregcount 128 -MD -MT CMakeFiles/pbrt_lib.dir/src/pbrt/wavefront/surfscatter.cpir/src/pbrt/wavefront/surfscatter.cpp.o.d -x cu -rdc=true -c /home/wcm/100API/pbrt-v4-ori/src/pbrt/wavefront/surfscatter.cpp -opbrt/wavefront/surfscatter.cpp.o
It's OK!
PBRT is the latest version, git commit ID: commit 39e01e6
Thanks a lot!
The text was updated successfully, but these errors were encountered: