Skip to content

Commit c2e6dd3

Browse files
daltriaIoannis Maznaskrasznaa
authored
fix Alpaka-HIP (#1315)
Co-authored-by: Ioannis Maznas <ioannis.maznas@cern.ch> Co-authored-by: Attila Krasznahorkay <30694331+krasznaa@users.noreply.github.com>
1 parent 4bbf39f commit c2e6dd3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CMakeLists.txt

100644100755
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ endif()
2424
set( CMAKE_CUDA_ARCHITECTURES "75" CACHE STRING
2525
"CUDA architectures to build device code for" )
2626

27+
# Set the HIP architecture to build code for.
28+
set( CMAKE_HIP_ARCHITECTURES "gfx1101;gfx90a" CACHE STRING
29+
"HIP architectures to build device code for" )
30+
2731
# Flag controlling whether warnings should make the build fail.
2832
option( TRACCC_FAIL_ON_WARNINGS
2933
"Make the build fail on compiler/linker warnings" FALSE )

0 commit comments

Comments
 (0)