Skip to content

Commit b5a199a

Browse files
committed
Provide global default for the custom scalar type
1 parent ce80a7e commit b5a199a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY
4444
list( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" )
4545
include( traccc-functions )
4646

47+
# Temporary setting for the traccc::scalar type, until it can be removed.
48+
set( TRACCC_CUSTOM_SCALARTYPE "float" CACHE STRING
49+
"Scalar type to use in the TRACCC code" )
50+
4751
# Flags controlling which parts of traccc to build.
4852
option( TRACCC_BUILD_CUDA "Build the CUDA sources included in traccc" FALSE )
4953
option( TRACCC_BUILD_HIP "Build the HIP sources included in traccc" FALSE)

plugins/algebra/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
#
55
# Mozilla Public License Version 2.0
66

7-
# Temporary setting for the traccc::scalar type, until it can be removed.
8-
set( TRACCC_CUSTOM_SCALARTYPE "float" CACHE STRING
9-
"Scalar type to use in the TRACCC code" )
10-
117
# Declare the traccc::algebra library.
128
traccc_add_library( traccc_algebra algebra TYPE INTERFACE )
139

0 commit comments

Comments
 (0)