Skip to content
Closed
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
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cmake_policy(SET CMP0096 OLD) # Drops leading zeros in version numbers
include(CMakeDependentOption)
include(CMakePackageConfigHelpers)

project(Chai LANGUAGES C CXX VERSION 2025.12.0)
project(Chai LANGUAGES C CXX VERSION 2026.07.0)

include(cmake/SetupChaiOptions.cmake)

Expand Down
9 changes: 7 additions & 2 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,19 @@ in this file.

The format of this file is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## [Unreleased] - Release date yyyy-mm-dd
## [Version 2026.07.0] - Release date 2025-08-05

### Changed
- CHAI now requires C++20 as the minimum C++ standard.
- CHAI now requires CUDA 12 as the minimum CUDA version when CUDA is enabled.
- CHAI now requires ROCm 6 as the minimum ROCm version when ROCm is enabled.
- CHAI now requires CUDA 12 as the minimum CUDA version when CUDA is enabled.
- Updated BLT to v0.7.2.
- Updated RAJA to v2026.07.0.
- Updated Umpire to v2026.07.1.
- Made a ManagedArray constructor explicit to prevent unwanted implicit conversions.
- Added size\_type, value\_type, reference, const\_reference, pointer, and const\_pointer typenames to ManagedArray.
- In CUDA builds, prevent resource manager from being created during construction of an empty ManagedArray.
- Added experimental re-implementation of CHAI. See docs/sphinx/expt/design.rst for details. It is still subject to change and has some limitations, but is anticipated to be more performant and flexible.

## [Version 2025.12.0] - Release date 2025-12-22

Expand Down
2 changes: 1 addition & 1 deletion cmake/chai-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ include(CMakeFindDependencyMacro)

include("${CMAKE_CURRENT_LIST_DIR}/BLTSetupTargets.cmake")

if (NOT TARGET umpire)
if (NOT TARGET umpire::umpire AND NOT TARGET umpire)
find_dependency(umpire CONFIG NO_DEFAULT_PATH PATHS
${umpire_DIR}
@umpire_DIR@
Expand Down
10 changes: 9 additions & 1 deletion cmake/thirdparty/SetupChaiThirdparty.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# SPDX-License-Identifier: BSD-3-Clause
##############################################################################

if (NOT TARGET umpire)
if (NOT TARGET umpire::umpire AND NOT TARGET umpire)
if (DEFINED umpire_DIR OR DEFINED UMPIRE_DIR)
message(STATUS "[CHAI] Using external Umpire")
find_package(umpire CONFIG REQUIRED NO_DEFAULT_PATH PATHS ${umpire_DIR} ${UMPIRE_DIR})
Expand All @@ -28,6 +28,14 @@ if (NOT TARGET umpire)
endif ()
endif ()

if (TARGET umpire::umpire)
set(CHAI_UMPIRE_TARGET umpire::umpire)
elseif (TARGET umpire)
set(CHAI_UMPIRE_TARGET umpire)
else ()
message(FATAL_ERROR "[CHAI] Umpire target not found. Expected target umpire::umpire or umpire.")
endif ()

if (CHAI_ENABLE_RAJA_PLUGIN)
if (NOT TARGET RAJA)
if (DEFINED raja_DIR OR DEFINED RAJA_DIR)
Expand Down
4 changes: 2 additions & 2 deletions docs/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
# built documents.
#
# The short X.Y version.
version = u'2025.12'
version = u'2026.07'
# The full version, including alpha/beta/rc tags.
release = u'2025.12.0'
release = u'2026.07.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
4 changes: 2 additions & 2 deletions docs/sphinx/conf.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ author = u''
# built documents.
#
# The short X.Y version.
version = u'2025.12'
version = u'2026.07'
# The full version, including alpha/beta/rc tags.
release = u'2025.12.0'
release = u'2026.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 src/chai/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if(CHAI_ENABLE_EXPERIMENTAL)
endif()

set (chai_depends
umpire)
${CHAI_UMPIRE_TARGET})

if (CHAI_ENABLE_CUDA)
set (chai_depends
Expand Down
2 changes: 1 addition & 1 deletion src/tpl/raja
Submodule raja updated 1144 files
2 changes: 1 addition & 1 deletion src/tpl/umpire
Submodule umpire updated 491 files
2 changes: 1 addition & 1 deletion tests/integration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# SPDX-License-Identifier: BSD-3-Clause
##############################################################################
set (chai_integration_test_depends
chai umpire gtest)
chai ${CHAI_UMPIRE_TARGET} gtest)

blt_list_append(TO chai_integration_test_depends ELEMENTS cuda IF ${CHAI_ENABLE_CUDA})
blt_list_append(TO chai_integration_test_depends ELEMENTS blt::hip IF ${CHAI_ENABLE_HIP})
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# SPDX-License-Identifier: BSD-3-Clause
##############################################################################
set (chai_unit_test_depends
chai umpire gtest)
chai ${CHAI_UMPIRE_TARGET} gtest)

blt_list_append(TO chai_unit_test_depends ELEMENTS cuda IF ${CHAI_ENABLE_CUDA})
blt_list_append(TO chai_unit_test_depends ELEMENTS blt::hip IF ${CHAI_ENABLE_HIP})
Expand Down