Skip to content

Commit 3774f51

Browse files
authored
Merge pull request #1450 from LLNL/v2022.10.5-RC
Pull in changes to fix separable compilation for CUDA or HIP.
2 parents c2a6b17 + 7c1fe99 commit 3774f51

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ include(CMakeDependentOption)
1616
# Set version number
1717
set(RAJA_VERSION_MAJOR 2022)
1818
set(RAJA_VERSION_MINOR 10)
19-
set(RAJA_VERSION_PATCHLEVEL 4)
19+
set(RAJA_VERSION_PATCHLEVEL 5)
2020

2121
if (RAJA_LOADED AND (NOT RAJA_LOADED STREQUAL "${RAJA_VERSION_MAJOR}.${RAJA_VERSION_MINOR}.${RAJA_VERSION_PATCHLEVEL}"))
2222
message(FATAL_ERROR "You are mixing RAJA versions. Loaded is ${RAJA_LOADED}, expected ${RAJA_VERSION_MAJOR}.${RAJA_VERSION_MINOR}.${RAJA_VERSION_PATCHLEVEL}")

RELEASE_NOTES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,17 @@ Notable changes include:
1919

2020
* Bug fixes/improvements:
2121

22-
Version 2022.10.4 -- Release date 2022-14-01
22+
Version 2022.10.5 -- Release date 2023-02-28
23+
============================================
24+
25+
This release fixes an issue that was found after the v2022.10.4 release.
26+
27+
* Fixes CUDA and HIP separable compilation option that was broken before the
28+
v2022.10.0 release. For the curious reader, the issue was that resources
29+
were constructed and calling CUDA/HIP API routines before either runtime
30+
was initialized.
31+
32+
Version 2022.10.4 -- Release date 2022-12-14
2333
============================================
2434

2535
This release fixes an issue that was found after the v2022.10.3 release.

docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979

8080
# General information about the project.
8181
project = u'RAJA'
82-
copyright = u'2016-2022, Lawrence Livermore National Security, LLNS'
82+
copyright = u'2016-2023, Lawrence Livermore National Security, LLNS'
8383

8484
# The version info for the project you're documenting, acts as replacement for
8585
# |version| and |release|, also used in various other places throughout the
@@ -88,7 +88,7 @@
8888
# The short X.Y version.
8989
version = u'2022.10'
9090
# The full version, including alpha/beta/rc tags.
91-
release = u'2022.10.4'
91+
release = u'2022.10.5'
9292

9393
# The language for content autogenerated by Sphinx. Refer to documentation
9494
# for a list of supported languages.

include/RAJA/policy/cuda/MemUtils_CUDA.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ namespace detail
118118
struct cudaInfo {
119119
cuda_dim_t gridDim{0, 0, 0};
120120
cuda_dim_t blockDim{0, 0, 0};
121-
::RAJA::resources::Cuda res;
121+
::RAJA::resources::Cuda res{::RAJA::resources::Cuda::CudaFromStream(0,0)};
122122
bool setup_reducers = false;
123123
#if defined(RAJA_ENABLE_OPENMP)
124124
cudaInfo* thread_states = nullptr;

include/RAJA/policy/hip/MemUtils_HIP.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ namespace detail
121121
struct hipInfo {
122122
hip_dim_t gridDim = 0;
123123
hip_dim_t blockDim = 0;
124-
::RAJA::resources::Hip res;
124+
::RAJA::resources::Hip res{::RAJA::resources::Hip::HipFromStream(0,0)};
125125
bool setup_reducers = false;
126126
#if defined(RAJA_ENABLE_OPENMP)
127127
hipInfo* thread_states = nullptr;

0 commit comments

Comments
 (0)