Skip to content

Commit

Permalink
[release] reci
Browse files Browse the repository at this point in the history
  • Loading branch information
archibate committed Sep 3, 2022
1 parent 0a74a2a commit 826e89e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
setup-python: true

- name: Install CUDA toolkit (Windows)
if: ${{ matrix.gpu == 'cuda'&& runner.os == 'Windows' }}
if: ${{ matrix.gpu == 'cuda' && runner.os == 'Windows' }}
env:
cuda: 11.6.1
visual_studio: "Visual Studio 16 2022"
Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ endmacro()

## --- begin cihou wxl cuda
if (ZENO_WITH_CUDA) # must move enable_language ahead to here
message(STATUS "CUDA_PATH: "$ENV{CUDA_PATH})
enable_language(CUDA) # otherwise projects/CUDA will fail to compile
endif()
## --- end cihou wxl cuda
Expand Down
2 changes: 1 addition & 1 deletion projects/CUDA/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set(ZS_ENABLE_OPENVDB ON)
set(ZENSIM_INSTALL OFF)
set(ZS_BUILD_SHARED_LIBS OFF)
set(CMAKE_CUDA_RESOLVE_DEVICE_SYMBOLS ON)
find_package(CUDAToolkit)
find_package(CUDAToolkit REQUIRED)

add_subdirectory(zpc)

Expand Down

0 comments on commit 826e89e

Please sign in to comment.