Skip to content

Commit a61b55d

Browse files
authoredJul 17, 2024
Merge pull request #643 from stephenswat/alpaka/installed_backend
Enable thread backend for all Alpaka builds
2 parents 4377873 + 3388c3b commit a61b55d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ option( TRACCC_USE_SYSTEM_ALPAKA
177177
"Pick up an existing installation of Alpaka from the build environment"
178178
${TRACCC_USE_SYSTEM_LIBS} )
179179
if( TRACCC_SETUP_ALPAKA )
180+
# Default options for the Alpaka build.
181+
set( alpaka_ACC_CPU_B_SEQ_T_THREADS_ENABLE TRUE CACHE BOOL
182+
"Enable the serial backend of Alpaka" )
183+
180184
if( TRACCC_USE_SYSTEM_ALPAKA )
181185
find_package( alpaka REQUIRED )
182186
else()

‎extern/alpaka/CMakeLists.txt

-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ set( TRACCC_ALPAKA_SOURCE
2323
mark_as_advanced( TRACCC_ALPAKA_SOURCE )
2424
FetchContent_Declare( Alpaka ${TRACCC_ALPAKA_SOURCE} )
2525

26-
# Default options for the Alpaka build.
27-
set( alpaka_ACC_CPU_B_SEQ_T_SEQ_ENABLE TRUE CACHE BOOL
28-
"Enable the serial backend of Alpaka" )
29-
3026
#Turn off build testing
3127
if( DEFINED CACHE{BUILD_TESTING} )
3228
set( _buildTestingValue ${BUILD_TESTING} )

0 commit comments

Comments
 (0)