Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

Commit

Permalink
protection (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrush authored Aug 26, 2021
1 parent d6adef8 commit 96eeadb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cmake/thirdparty/SetupVTKm.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ if(ENABLE_CUDA)
vtkm_get_cuda_flags(_fetch_vtkm_cuda_flags)
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} ${_fetch_vtkm_cuda_flags}")
unset(_fetch_vtkm_cuda_flags)
# we also need
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -Xptxas --disable-optimizer-constants")
endif()

# VTKM does not seem to propogate includes it exposes to us, so we have to work
Expand Down

0 comments on commit 96eeadb

Please sign in to comment.