diff --git a/GPU/GPUTracking/Standalone/CMakeLists.txt b/GPU/GPUTracking/Standalone/CMakeLists.txt index c112be6abac11..8ce95c8e96d3a 100644 --- a/GPU/GPUTracking/Standalone/CMakeLists.txt +++ b/GPU/GPUTracking/Standalone/CMakeLists.txt @@ -139,7 +139,6 @@ endif() add_subdirectory(../../ GPU) add_library(standalone_support SHARED ${O2_DIR}/Common/Field/src/MagFieldFast.cxx - ${O2_DIR}/Common/ML/src/OrtInterface.cxx ${O2_DIR}/Common/Utils/src/StringUtils.cxx ${O2_DIR}/DataFormats/Detectors/TPC/src/CompressedClusters.cxx ${O2_DIR}/DataFormats/Reconstruction/src/TrackParametrization.cxx @@ -228,6 +227,7 @@ endif() if(GPUCA_CONFIG_ONNX) target_link_libraries(standalone_support PRIVATE onnxruntime::onnxruntime) + target_sources(standalone_support PRIVATE ${O2_DIR}/Common/ML/src/OrtInterface.cxx) endif() if (GPUCA_BUILD_DEBUG_SANITIZE AND CMAKE_CXX_COMPILER MATCHES "clang\\+\\+") diff --git a/GPU/GPUTracking/Standalone/tools/dumpGPUDefParam.C b/GPU/GPUTracking/Standalone/tools/dumpGPUDefParam.C index f82c537956ead..f6866bb80da05 100644 --- a/GPU/GPUTracking/Standalone/tools/dumpGPUDefParam.C +++ b/GPU/GPUTracking/Standalone/tools/dumpGPUDefParam.C @@ -13,7 +13,7 @@ /// \author David Rohr // Run e.g. as (replacing [FILE] and [OUTPUT]: -// echo -e '#define PARAMETER_FILE "[FILE]]"\ngInterpreter->AddIncludePath("'`pwd`'/include/GPU");\n.x share/GPU/tools/dumpGPUDefParam.C("[OUTPUT]")\n.q\n' | root -l -b +// echo -e '#define PARAMETER_FILE "[FILE]"\ngInterpreter->AddIncludePath("'`pwd`'/include/GPU");\n.x share/GPU/tools/dumpGPUDefParam.C("[OUTPUT]")\n.q\n' | root -l -b // To dump the defaults for AMPERE architecture, run // echo -e '#define GPUCA_GPUTYPE_AMPERE\n#define PARAMETER_FILE "GPUDefParametersDefaults.h"\ngInterpreter->AddIncludePath("'`pwd`'/include/GPU");\n.x share/GPU/tools/dumpGPUDefParam.C("default_AMPERE.par")\n.q\n' | root -l -b