Skip to content

Commit

Permalink
Merge branch 'develop' into cmake/lapack-target
Browse files Browse the repository at this point in the history
  • Loading branch information
gardner48 authored Aug 6, 2024
2 parents f82145a + 115914d commit b54a400
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

Fixed the loading of ARKStep's default first order explicit method.

Fixed a CMake bug regarding usage of missing "print_warning" macro
that was only triggered when the deprecated `CUDA_ARCH` option was used.

### Deprecation Notices

## Changes to SUNDIALS in release 7.1.1
Expand Down
4 changes: 2 additions & 2 deletions cmake/SundialsDeprecated.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ endif()
#

if(DEFINED CUDA_ARCH)
print_warning("The CMake option CUDA_ARCH is deprecated. "
"Use CMAKE_CUDA_ARCHITECTURES instead.")
message(DEPRECATION "The CMake option CUDA_ARCH is deprecated. "
"Use CMAKE_CUDA_ARCHITECTURES instead.")
# convert sm_** to just **
string(REGEX MATCH "[0-9]+" arch_name "${CUDA_ARCH}")
set(CMAKE_CUDA_ARCHITECTURES
Expand Down
3 changes: 3 additions & 0 deletions doc/shared/RecentChanges.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@

Fixed the loading of ARKStep's default first order explicit method.

Fixed a CMake bug regarding usage of missing "print_warning" macro
that was only triggered when the deprecated ``CUDA_ARCH`` option was used.

**Deprecation Notices**

0 comments on commit b54a400

Please sign in to comment.