Skip to content

Commit 1aa7b05

Browse files
authored
Merge branch 'develop' into feature/seanofthemillers/adding_radeon_support
2 parents 08b5515 + 573c407 commit 1aa7b05

File tree

7 files changed

+37
-16
lines changed

7 files changed

+37
-16
lines changed

.gitlab/jobs/poodle.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,12 @@ gcc_10_3_1:
2929
SPEC: " ~shared +openmp +omptask ~vectorization +tests %gcc@=10.3.1 ${PROJECT_POODLE_DEPS}"
3030
extends: .job_on_poodle
3131

32-
# Known issue currently under investigation
32+
# custom variant
3333
# https://github.com/LLNL/RAJA/pull/1712#issuecomment-2292006843
3434
intel_2023_2_1:
3535
variables:
36-
SPEC: "${PROJECT_POODLE_VARIANTS} %intel@=2023.2.1 ${PROJECT_POODLE_DEPS}"
36+
SPEC: "${PROJECT_POODLE_VARIANTS} +lowopttest cxxflags==-fp-model=precise %intel@=2023.2.1 ${PROJECT_POODLE_DEPS}"
3737
extends: .job_on_poodle
38-
allow_failure: true
3938

4039
############
4140
# Extra jobs

.gitlab/jobs/ruby.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,12 @@ gcc_10_3_1:
2929
SPEC: " ~shared +openmp +omptask ~vectorization +tests %gcc@=10.3.1 ${PROJECT_RUBY_DEPS}"
3030
extends: .job_on_ruby
3131

32-
# Known issue currently under investigation
32+
# custom variant
3333
# https://github.com/LLNL/RAJA/pull/1712#issuecomment-2292006843
3434
intel_2023_2_1:
3535
variables:
36-
SPEC: "${PROJECT_RUBY_VARIANTS} %intel@=2023.2.1 ${PROJECT_RUBY_DEPS}"
36+
SPEC: "${PROJECT_RUBY_VARIANTS} +lowopttest cxxflags==-fp-model=precise %intel@=2023.2.1 ${PROJECT_RUBY_DEPS}"
3737
extends: .job_on_ruby
38-
allow_failure: true
3938

4039
############
4140
# Extra jobs

host-configs/lc-builds/toss4/icpx_X.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
set(RAJA_COMPILER "RAJA_COMPILER_ICC" CACHE STRING "")
99

1010
##set(COMMON_FLAGS "--gcc-toolchain=/usr/tce/packages/gcc/gcc-10.3.1")
11-
##set(COMMON_OPT_FLAGS "-march=native -finline-functions -fp-model=precise")
12-
set(COMMON_OPT_FLAGS "-march=native -finline-functions")
11+
set(COMMON_OPT_FLAGS "-march=native -finline-functions -fp-model=precise")
12+
#set(COMMON_OPT_FLAGS "-march=native -finline-functions")
1313

1414
##set(CMAKE_CXX_FLAGS_RELEASE "${COMMON_FLAGS} -O3 ${COMMON_OPT_FLAGS}" CACHE STRING "")
1515
##set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${COMMON_FLAGS} -O3 -g ${COMMON_OPT_FLAGS}" CACHE STRING "")

include/RAJA/policy/openmp_target/params/reduce.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace detail {
2626
// Resolve
2727
template<typename EXEC_POL, typename OP, typename T, typename VOp>
2828
camp::concepts::enable_if< type_traits::is_target_openmp_policy<EXEC_POL> >
29-
resolve(Reducer<OP, T, I, VOp>& red) {
29+
resolve(Reducer<OP, T, VOp>& red) {
3030
red.combineTarget(red.m_valop.val);
3131
}
3232

scripts/lc-builds/toss4_icpx.sh

+25-3
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,17 @@ module load cmake/3.23.1
3535
# times at a potential cost of slower 'forall' execution.
3636
##
3737

38-
source /usr/tce/packages/intel/intel-${COMP_VER}/setvars.sh
38+
if [[ ${COMP_VER} == 2024.2.1 ]]
39+
then
40+
source /collab/usr/global/tools/intel/toss_4_x86_64_ib/oneapi-2024.2.1/setvars.sh
41+
else
42+
source /usr/tce/packages/intel/intel-${COMP_VER}/setvars.sh
43+
fi
3944

4045
cmake \
4146
-DCMAKE_BUILD_TYPE=Release \
42-
-DCMAKE_CXX_COMPILER=/usr/tce/packages/intel/intel-${COMP_VER}/bin/icpx \
43-
-DCMAKE_C_COMPILER=/usr/tce/packages/intel/intel-${COMP_VER}/bin/icx \
47+
-DCMAKE_CXX_COMPILER=icpx \
48+
-DCMAKE_C_COMPILER=icx \
4449
-DBLT_CXX_STD=c++14 \
4550
-C ../host-configs/lc-builds/toss4/icpx_X.cmake \
4651
-DRAJA_ENABLE_FORCEINLINE_RECURSIVE=Off \
@@ -49,3 +54,20 @@ cmake \
4954
-DCMAKE_INSTALL_PREFIX=../install_${BUILD_SUFFIX} \
5055
"$@" \
5156
..
57+
58+
if [[ ${COMP_VER} == 2024.2.1 ]]
59+
then
60+
61+
echo
62+
echo "***********************************************************************"
63+
echo
64+
echo "cd into directory build_${BUILD_SUFFIX} and run make to build RAJA"
65+
echo
66+
echo "To successfully build and run all tests, you may need to run the"
67+
echo "command to make sure your environment is set up properly:"
68+
echo
69+
echo " source /collab/usr/global/tools/intel/toss_4_x86_64_ib/oneapi-2024.2.1/setvars.sh"
70+
echo
71+
echo "***********************************************************************"
72+
73+
fi

test/unit/multi_reducer/CMakeLists.txt

+4-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ if(RAJA_ENABLE_OPENMP)
3737
list(APPEND BACKENDS OpenMP)
3838
endif()
3939

40-
if(RAJA_ENABLE_TARGET_OPENMP)
41-
list(APPEND BACKENDS OpenMPTarget)
42-
endif()
40+
# Add this back in when OpenMP Target implementation exists for multi-reducer
41+
#if(RAJA_ENABLE_TARGET_OPENMP)
42+
# list(APPEND BACKENDS OpenMPTarget)
43+
#endif()
4344

4445
if(RAJA_ENABLE_CUDA)
4546
list(APPEND BACKENDS Cuda)

0 commit comments

Comments
 (0)