Skip to content

Commit

Permalink
Merge pull request #9010 from fwyzard/IB/CMSSW_14_0_X/master_alpaka_1…
Browse files Browse the repository at this point in the history
….1.0

Update Alpaka to version 1.1.0 [14.0.x]
  • Loading branch information
cmsbuild authored Feb 14, 2024
2 parents 8e26010 + 59d4d94 commit 3821874
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions alpaka.spec
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
### RPM external alpaka develop-20230621
### RPM external alpaka 1.1.0
## NOCOMPILER

%define git_commit 0286cd8fa24e50179e24b62a48c89201e51eb80a
%define git_commit 1.1.0

Source: https://github.com/cms-patatrack/%{n}/archive/%{git_commit}.tar.gz
Source: https://github.com/alpaka-group/%{n}/archive/%{git_commit}.tar.gz
Requires: boost

%prep
Expand Down
1 change: 0 additions & 1 deletion scram-tools.file/tools/alpaka/alpaka-rocm.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<tool name="alpaka-rocm" version="@TOOL_VERSION@">
<use name="alpaka"/>
<use name="rocm"/>
<use name="rocm-rocrand"/>
<!-- host comiplation should run with ALPAKA_HOST_ONLY defined -->
<flags CXXFLAGS="-DALPAKA_ACC_GPU_HIP_ENABLED -DALPAKA_HOST_ONLY"/>
<flags GENREFLEX_CPPFLAGS="-DALPAKA_ACC_GPU_HIP_ENABLED -DALPAKA_HOST_ONLY"/>
Expand Down
4 changes: 4 additions & 0 deletions scram-tools.file/tools/alpaka/alpaka.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@
<flags CXXFLAGS="-DALPAKA_DEFAULT_HOST_MEMORY_ALIGNMENT=128"/>
<flags CUDA_FLAGS="-DALPAKA_DEFAULT_HOST_MEMORY_ALIGNMENT=128"/>
<flags GENREFLEX_CPPFLAGS="-DALPAKA_DEFAULT_HOST_MEMORY_ALIGNMENT=128"/>
<!-- disable the vendor specific random number generators (NVIDIA cuRAND, AMD rocRAND, Intel DPL) -->
<flags CXXFLAGS="-DALPAKA_DISABLE_VENDOR_RNG"/>
<flags CUDA_FLAGS="-DALPAKA_DISABLE_VENDOR_RNG"/>
<flags GENREFLEX_CPPFLAGS="-DALPAKA_DISABLE_VENDOR_RNG"/>
</tool>

0 comments on commit 3821874

Please sign in to comment.