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
option (PBRT_NVTX"Insert NVTX annotations for NVIDIA Profiling and Debugging Tools"OFF)
23
23
option (PBRT_NVML"Use NVML for GPU performance measurement"OFF)
24
24
option (PBRT_USE_PREGENERATED_RGB_TO_SPECTRUM_TABLES"Use pregenerated rgbspectrum_*.cpp files rather than running rgb2spec_opt to generate them at build time"OFF)
25
-
set (PBRT_OPTIX7_PATH$ENV{PBRT_OPTIX7_PATH}CACHEPATH"Path to OptiX 7 SDK")
25
+
set (PBRT_OPTIX_PATH$ENV{PBRT_OPTIX_PATH}CACHEPATH"Path to OptiX SDK")
26
26
set (PBRT_GPU_SHADER_MODEL ""CACHESTRING"")
27
27
28
28
@@ -207,8 +207,8 @@ of CUDA installed, please update your PATH.")
207
207
message (SEND_ERROR"Unfortunately, pbrt-v4 triggers an internal compiler error in CUDA 11.3.0. Please either use CUDA 11.0-11.2 or 11.3.1 or later.")
208
208
endif ()
209
209
210
-
if ("${PBRT_OPTIX7_PATH}"STREQUAL"")
211
-
message (WARNING"Found CUDA but PBRT_OPTIX7_PATH is not set. Disabling GPU compilation.")
210
+
if ("${PBRT_OPTIX_PATH}"STREQUAL"")
211
+
message (WARNING"Found CUDA but PBRT_OPTIX_PATH is not set. Disabling GPU compilation.")
212
212
else ()
213
213
enable_language (CUDA)
214
214
list (APPEND PBRT_DEFINITIONS "PBRT_BUILD_GPU_RENDERER")
@@ -283,7 +283,7 @@ of CUDA installed, please update your PATH.")
0 commit comments