mirror of
https://github.com/mmp/pbrt-v4
synced 2026-09-26 16:20:07 +03:00
github: try n+2 to get GPU CI working again
This commit is contained in:
parent
0bb1c5e48d
commit
2606a2b351
1 changed files with 1 additions and 0 deletions
|
|
@ -243,6 +243,7 @@ of CUDA installed, please update your PATH.")
|
|||
target_compile_options (
|
||||
cuda_build_configuration
|
||||
INTERFACE
|
||||
"$<$<CXX_COMPILER_ID:MSVC>:$<$<COMPILE_LANGUAGE:CUDA>:--forward-slash-prefix-opts>>"
|
||||
"$<$<COMPILE_LANGUAGE:CUDA>:--std=c++17;--use_fast_math;--expt-relaxed-constexpr;--extended-lambda;--forward-unknown-to-host-compiler>"
|
||||
# The "$<NOT:$<BOOL:$<TARGET_PROPERTY:CUDA_PTX_COMPILATION>>>" part is to not add debugging symbols when generating PTX files for OptiX; see https://github.com/mmp/pbrt-v4/issues/69#issuecomment-715499748.
|
||||
"$<$<COMPILE_LANGUAGE:CUDA>:$<IF:$<AND:$<CONFIG:Debug>,$<NOT:$<BOOL:$<TARGET_PROPERTY:CUDA_PTX_COMPILATION>>>>,-G;-g,-lineinfo;-maxrregcount;128>>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue