Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

- name: Cache Build
id: cache-build
uses: actions/cache@v4.0.2
uses: actions/cache@v4
with:
path: ${{ env.CACHE_PATH }}
key: ${{ runner.os }}-${{ matrix.config }}-cache
Expand Down Expand Up @@ -132,10 +132,10 @@ jobs:
sudo apt-get install ccache
echo 'CACHE_PATH=~/.cache/ccache' >> "$GITHUB_ENV"

- uses: Jimver/[email protected].17
- uses: Jimver/[email protected].22
id: cuda-toolkit
with:
cuda: '12.4.0'
cuda: '12.8.1'
sub-packages: '["nvcc"]'
method: 'network'

Expand All @@ -145,7 +145,7 @@ jobs:

- name: Cache Build
id: cache-build
uses: actions/cache@v4.0.2
uses: actions/cache@v4
with:
path: ${{ env.CACHE_PATH }}
key: ${{ runner.os }}-${{ matrix.config }}-CUDA-cache
Expand Down
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ if(SCALABLE_CCD_WITH_CUDA)
# library to be built with -dc as the member functions could be called by
# other libraries and executables.
set_target_properties(scalable_ccd PROPERTIES CUDA_SEPARABLE_COMPILATION ON)

if(DEFINED SCALABLE_CCD_CUDA_ARCHITECTURES)
message(STATUS "CUDA_ARCHITECTURES was specified, skipping auto-detection")
set(CMAKE_CUDA_ARCHITECTURES ${SCALABLE_CCD_CUDA_ARCHITECTURES})
Expand All @@ -195,11 +195,12 @@ if(SCALABLE_CCD_WITH_CUDA)
BUILD_RPATH ${CMAKE_CUDA_IMPLICIT_LINK_DIRECTORIES})
endif()

target_compile_options(scalable_ccd PRIVATE
target_compile_options(scalable_ccd PRIVATE
$<$<COMPILE_LANGUAGE:CUDA>:
--generate-line-info
--use_fast_math
--relocatable-device-code=true
--expt-relaxed-constexpr
>
)

Expand Down
Loading