Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Provide global default for the custom scalar type #875

Merged
merged 1 commit into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY
list( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" )
include( traccc-functions )

# Temporary setting for the traccc::scalar type, until it can be removed.
set( TRACCC_CUSTOM_SCALARTYPE "float" CACHE STRING
"Scalar type to use in the TRACCC code" )

# Flags controlling which parts of traccc to build.
option( TRACCC_BUILD_CUDA "Build the CUDA sources included in traccc" FALSE )
option( TRACCC_BUILD_HIP "Build the HIP sources included in traccc" FALSE)
Expand Down
4 changes: 0 additions & 4 deletions plugins/algebra/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
#
# Mozilla Public License Version 2.0

# Temporary setting for the traccc::scalar type, until it can be removed.
set( TRACCC_CUSTOM_SCALARTYPE "float" CACHE STRING
"Scalar type to use in the TRACCC code" )

# Declare the traccc::algebra library.
traccc_add_library( traccc_algebra algebra TYPE INTERFACE )

Expand Down
Loading