Skip to content

Commit 8c19f30

Browse files
authored
Merge pull request #521 from gonsolo/noseven
Three more occurrences of OPTIX7.
2 parents 91bc6ca + 344b2be commit 8c19f30

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci-gpu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@ jobs:
7777
if: ${{ matrix.os == 'windows-latest' }}
7878
run: |
7979
cd build
80-
cmake .. -DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT"/scripts/buildsystems/vcpkg.cmake -DPBRT_USE_PREGENERATED_RGB_TO_SPECTRUM_TABLES=True -DPBRT_OPTIX7_PATH=../optix/${{ matrix.optix }} -DPBRT_GPU_SHADER_MODEL=sm_80
80+
cmake .. -DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT"/scripts/buildsystems/vcpkg.cmake -DPBRT_USE_PREGENERATED_RGB_TO_SPECTRUM_TABLES=True -DPBRT_OPTIX_PATH=../optix/${{ matrix.optix }} -DPBRT_GPU_SHADER_MODEL=sm_80
8181
8282
- name: Configure (Linux)
8383
if: ${{ matrix.os == 'ubuntu-20.04' || matrix.os == 'ubuntu-24.04' }}
8484
run: |
8585
cd build
86-
cmake .. -DPBRT_USE_PREGENERATED_RGB_TO_SPECTRUM_TABLES=True -DPBRT_OPTIX7_PATH=../optix/${{ matrix.optix }} -DPBRT_GPU_SHADER_MODEL=sm_80
86+
cmake .. -DPBRT_USE_PREGENERATED_RGB_TO_SPECTRUM_TABLES=True -DPBRT_OPTIX_PATH=../optix/${{ matrix.optix }} -DPBRT_GPU_SHADER_MODEL=sm_80
8787
8888
- name: Build
8989
# We need to limit the number of jobs so that it doesn't OOM

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ later. Both Linux and Windows are supported.
206206

207207
The build scripts automatically attempt to find a CUDA compiler, looking in
208208
the usual places; the cmake output will indicate whether it was successful.
209-
It is necessary to manually set the cmake `PBRT_OPTIX7_PATH` configuration
209+
It is necessary to manually set the cmake `PBRT_OPTIX_PATH` configuration
210210
option to point at an OptiX installation. By default, the GPU shader model
211211
that pbrt targets is set automatically based on the GPU in the system.
212212
Alternatively, the `PBRT_GPU_SHADER_MODEL` option can be set manually

0 commit comments

Comments
 (0)