Skip to content

Commit

Permalink
Merge branch 'develop' into task/rhornung67/switch2github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rhornung67 authored Jul 24, 2024
2 parents b26ade8 + b49efa3 commit 22bfac9
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 11 deletions.
10 changes: 3 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ include(CMakeDependentOption)

# Set version number
set(RAJA_VERSION_MAJOR 2024)
set(RAJA_VERSION_MINOR 02)
set(RAJA_VERSION_PATCHLEVEL 2)
set(RAJA_VERSION_MINOR 07)
set(RAJA_VERSION_PATCHLEVEL 0)

if (RAJA_LOADED AND (NOT RAJA_LOADED STREQUAL "${RAJA_VERSION_MAJOR}.${RAJA_VERSION_MINOR}.${RAJA_VERSION_PATCHLEVEL}"))
message(FATAL_ERROR "You are mixing RAJA versions. Loaded is ${RAJA_LOADED}, expected ${RAJA_VERSION_MAJOR}.${RAJA_VERSION_MINOR}.${RAJA_VERSION_PATCHLEVEL}")
Expand Down Expand Up @@ -44,11 +44,7 @@ set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/thirdparty" ${CMAKE_MODULE_PA

include(cmake/SetupRajaOptions.cmake)

if (ENABLE_HIP)
cmake_minimum_required(VERSION 3.23)
else()
cmake_minimum_required(VERSION 3.20)
endif()
cmake_minimum_required(VERSION 3.23)

# Detect C++ standard and add appropriate flag _before_ loading BLT
set(COMPILERS_KNOWN_TO_CMAKE33 AppleClang Clang GNU MSVC)
Expand Down
51 changes: 51 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,57 @@ Notable changes include:
* Bug fixes/improvements:


Version 2024.07.0 -- Release date 2024-07-24
============================================

This release contains new features, improvements, and bugfixes.

Notable changes include:

* New features / API changes:
* Added support for a "multi-reduction" operation which allows users to
perform a run time-defined number of reduction operations in a kernel.
Please see the RAJA User Guide for details and examples.
* Added first couple of sections for a "RAJA Cookbook" in the RAJA User
Guide. The goal is to provide users with more detailed guidance about
using RAJA features, choosing execution policies, etc. Additional
content will be provided in future releases.
* Added atomicLoad and atomicStore routines for correctness in some
use cases.
* Added OpenMP 5.1 implementations for atomicMin and atomicMax.
* Add SYCL reduction support in RAJA::launch

* Build changes/improvements:
* Update camp submodule to v2024.07.0 release. This will be a version
constraint for this release in RAJA Spack package.
* Minimum required CMake version bumped to 3.23.

* Bug fixes/improvements:
* Fix CMake issue for case when RAJA is used as a submodule dependency.
* Various fixes and improvements to builtin atomic support.
* Fixes and improvements to other atomic operations:
* Modified HIP and CUDA generic atomic compare and swap algorithms
to use atomic loads instead of relying on volatile.
* Re-implemented atomic loads in terms of builtin atomics for CUDA
and HIP so that the generic compare and swap functions can use it.
* Removes volatile qualifier in atomic function signatures.
* Use cuda::atomic_ref in newer versions of CUDA to back
atomicLoad/atomicStore.
* Use atomicAdd as a fallback for atomicSub in CUDA.
* Removed checks where __CUDA_ARCH__ is less than 350 since RAJA
requires that as the minimum supported architecture (CMake check).
* Fixed issues with naming RAJA forall::kernels when using CUDA.
* Fixes in SYCL back-end for RAJA::launch.
* Fixed some issues in examples.
* Bugfixes and cleanup in parts of the SYCL back-end needed to
support a bunch of new SYCL kernels that will appear in
RAJA Performance Suite release.
* Fix type naming issue that was exposed with a new version of the
Intel oneAPI compiler.
* Fix issue in User Guide documentation for configuring a project
using RAJA CMake configuration.


Version 2024.02.2 -- Release date 2024-05-08
============================================

Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@
# built documents.
#
# The short X.Y version.
version = u'2024.02'
version = u'2024.07'
# The full version, including alpha/beta/rc tags.
release = u'2024.02.2'
release = u'2024.07.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion docs/sphinx/user_guide/feature/resource.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Memory Operations
-------------------

The example discussed in this section illustrates most of the memory
operations that can be performed with
operations that can be performed with RAJA resource objects.
A common use case for a resource is to manage arrays in the appropriate
memory space to use in a kernel. Consider the following code example::

Expand Down
1 change: 1 addition & 0 deletions include/RAJA/policy/cuda/params/kernel_name.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#if defined(RAJA_CUDA_ACTIVE)

#include <cuda.h>
#include "RAJA/policy/cuda/MemUtils_CUDA.hpp"
#include "RAJA/pattern/params/kernel_name.hpp"

namespace RAJA {
Expand Down
1 change: 1 addition & 0 deletions include/RAJA/policy/hip/params/kernel_name.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#if defined(RAJA_HIP_ACTIVE)

#include "RAJA/policy/hip/MemUtils_HIP.hpp"
#include "RAJA/pattern/params/kernel_name.hpp"

#if defined(RAJA_ENABLE_ROCTX)
Expand Down
2 changes: 1 addition & 1 deletion tpl/camp

0 comments on commit 22bfac9

Please sign in to comment.