Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
e5cbb5f
TPC Splines: fix initialization of the track residuals in the test macro
sgorbuno Mar 15, 2024
c959d1a
TPC Splines: fix propagation of the track residual data to the TPC ro…
sgorbuno Mar 15, 2024
4a198dd
TPC Splines: non-uniform grid that corresponds to the track residual …
sgorbuno Apr 15, 2024
77d7b83
TPC Splines: multithreaded reading of the residual tree
sgorbuno Apr 18, 2024
9e4990a
TPC Splines: add limits for SP correction values per TPC row
sgorbuno Jun 20, 2024
6cb1ae4
TPC Splines: disable smoothing
sgorbuno Jul 4, 2024
99b374c
TPC Splines: smooth to linear edges, crop at grid borders, use mean p…
Jul 18, 2024
c4051e8
TPC Splines: fix the inverse correction
sgorbuno Jan 16, 2025
0312255
TPC Splines: fix reading track residuals
sgorbuno Jan 27, 2025
c7bfe3d
TPC Splines: fix scaling splines outside of the measured area
sgorbuno Jan 27, 2025
5a71a1a
TPC Splines: rename Slice -> Roc in geometry
sgorbuno Jan 27, 2025
99e671a
TPC Splines: minimise the amount of transformations
sgorbuno Feb 5, 2025
ae6f689
TPC Splines: init inverse from the inverse voxel map; rebase
sgorbuno Mar 6, 2025
f31edef
TPC Splines: cleanup
sgorbuno Apr 6, 2025
4d10fc2
TPC Splines: fast merge of SC corrections
sgorbuno Apr 11, 2025
0e6ba71
TPC Splines: get rid of internal UV coordinates
sgorbuno Apr 12, 2025
c90e6b1
TPC Splines: completely switch to local TPC coordinates in the grid
sgorbuno Apr 14, 2025
f60e1ca
TPC Splines: correct biased voxels; features for debugging
cbmsw Aug 20, 2025
f37869f
TPC Splines: replace std::tuple by std::array
cbmsw Aug 27, 2025
7cab7e3
TPC Splines: better smoothing between the voxels
cbmsw Aug 27, 2025
ac7cf7c
TPCFastTransform: fix compilation on GPU with the new splines
davidrohr Sep 1, 2025
273f1be
TPC Splines: bugfixes in spline merging
cbmsw Sep 17, 2025
52f6881
TPC Splines: add backward compatibility
cbmsw Oct 6, 2025
c540936
Fix compiler-warnings, codechecker violations and compilation
cbmsw Oct 15, 2025
1635c84
TPC Splines: keep old cropping scheme
cbmsw Feb 5, 2026
fc18c6f
GPU TPC FastTransformation: Do not use std::array
davidrohr Mar 29, 2026
4fa3691
GPU TPCFastTransformation: Do not use double
davidrohr Mar 31, 2026
d54a10c
GPU TPCFastTransfomration: Add missing inline keywords
davidrohr Apr 1, 2026
0b323df
Add POD version of TPCFastTransform
shahor02 Feb 22, 2026
309bee4
GPU FlatObject: Make some more functions accessible on GPU
davidrohr Apr 3, 2026
88a7f10
TPC: centralize correction map building in TPCScalerSpec
matthias-kleiner Oct 27, 2025
fd0df89
TPC: remove CorrectionMaps helper/loader classes
matthias-kleiner Apr 2, 2026
9b77940
GPU TPCTransform: new POD transform does not need support for applyin…
davidrohr Apr 3, 2026
f9f40b3
GPU: Add GPUCommonAlignedAlloc.h for aligned buffers, and use it for …
davidrohr Apr 3, 2026
3913de7
GPU Standalone: Add dumping and reading of dynamic structs with large…
davidrohr Apr 3, 2026
7b3b498
Revert "GPU Display: temporarily disable imgui text rendering, for im…
davidrohr Apr 7, 2026
41e3734
GPU OpenGL Display: remove broken functionality to draw text via ImGui
davidrohr Apr 7, 2026
6c264b6
GPU: Renaming and removal of obsolete macros / defines
davidrohr Apr 7, 2026
44650b6
GPU: Remove obsolete file
davidrohr Apr 8, 2026
81c9a48
GPU: Change some defines to constexpr variables, some renaming
davidrohr Apr 7, 2026
def1fae
GPU: Unify some constants
davidrohr Apr 8, 2026
59a4e3f
Fix compiler warning
davidrohr Apr 8, 2026
50648ae
GPU: Fix compilation in Run2 mode
davidrohr Apr 8, 2026
1898a85
GPU: Add ctest for GPUTPCGeometry
davidrohr Apr 9, 2026
1af4f96
GPU Common: Add GPUCommonConfigurableParam to support ConfigurablePar…
davidrohr Apr 9, 2026
a453b72
TPC FastTransform: Get Geometry from GPUTPCGeometry not from o2::tpc:…
davidrohr Apr 9, 2026
8175e0a
GPU: Add workaround if fmt not available to GPUCommonLogger
davidrohr Apr 9, 2026
3d15794
TPC: Make TPC calibration objects constructible from standalone bench…
davidrohr Apr 9, 2026
ca6d47d
GPU Standalone: Add recreateTrivialCalibObjects option
davidrohr Apr 9, 2026
3f46836
Remove unnecessary GPUCA_GPUCODE protection in non-GPU code
davidrohr Apr 9, 2026
89de7a7
make TPCFastTransformPOD fully independent of FlatObject and root
matthias-kleiner Apr 7, 2026
f417b39
removing remaining pointers and classdef from TPCFastTransformPOD
matthias-kleiner Apr 8, 2026
99d2b90
handle disable-ctp-lumi-request properly in all workflows
matthias-kleiner Apr 9, 2026
e853010
GPU: Add check that struct was read correctly from file
davidrohr Apr 9, 2026
9525cfd
GPU TRD: Reduce headers included in interface class
davidrohr Apr 10, 2026
e70d4c4
GPU: Move some files such that GPUDataTypes does not depend on TPCFas…
davidrohr Apr 10, 2026
f012557
GPU TPCFastTransform: Use constexpr GPUTPCGeometry where possible
davidrohr Apr 9, 2026
8f58321
GPU: Add unfolded padWidthPerRow to GPUTPCGeometry
davidrohr Apr 9, 2026
6f72010
GPU: Add sector angles to GPUTPCGeometry
davidrohr Apr 9, 2026
963ab52
GPU: Add GPUCA_DETERMINISTIC_NO_FTC
davidrohr Apr 11, 2026
ca6a733
GPU: GPULooger should suppress messages below info level in standalon…
davidrohr Apr 11, 2026
79c70c5
GPU: Write floats in hex format to debug dump when in deterministic mode
davidrohr Apr 11, 2026
5d87511
GPU: Restructure parameters for TPC track merging, simplifying and wo…
davidrohr Apr 12, 2026
0d064fd
GPU: Fix compiler warning
davidrohr Apr 12, 2026
171ee9a
GPU CMake: Fix should fail when no parameters for architecture exist
davidrohr Apr 15, 2026
03da380
GPU: Add tuned parameters for NVIDIA Blackwell
davidrohr Apr 10, 2026
415b23b
GPU TPC Clusterizer: Add static assert to forbit invalid thread counts
davidrohr Apr 12, 2026
3ecdea6
GPU Standalone: Fix TPC_MAX_TIME_BIN_TRIGGERED for Run2 data
davidrohr Apr 13, 2026
69af18d
GPU: Use GPUCommonAlignedAlloc.h in more places
davidrohr Apr 13, 2026
d46bad0
GPU Standalone: Fix corner cases when no TRD data present, TRDRecoPar…
davidrohr Apr 13, 2026
2528200
TPCFastTransform: Do not pollute the global namespace
davidrohr Apr 13, 2026
4d1075a
GPU CMake: Simplify header install logic for GPUCommon
davidrohr Apr 14, 2026
8b60713
GPU: Improve debug / info messages
davidrohr Apr 14, 2026
92d655e
GPU: Add python script to convert C++ parameter header to csv file
davidrohr Apr 14, 2026
a758660
GPU: Enforce some GPU-kernels are RTC-compiled with correct WARP_SIZE…
davidrohr Apr 15, 2026
860ac39
GPU TPC Merging: Fix alternateBorderSort=0 with GPU in per-kernel mode
davidrohr Apr 15, 2026
d1658ad
GPU: Change some default GPU parameters
davidrohr Apr 15, 2026
de197ab
TPCFastTransform: adjust the test macro to the new code
cbmsw Apr 14, 2026
912874b
TPCFastTransform: remove row-wise max correction values
cbmsw Apr 14, 2026
6ca55d4
TPCFastTransform: mirror Z-´of the spline grid for the C side
cbmsw Apr 15, 2026
4207c6e
TPCFastTransform: prepare for reduced metadata
cbmsw Apr 15, 2026
d10da92
TPCFastTransform: reduce the metadata: the same spline setup for all …
cbmsw Apr 16, 2026
fd13c08
TPCFastTransform: renaming
cbmsw Apr 16, 2026
1782ff1
TPCFastTransform: remove unnecessary memory alignment in the spline data
cbmsw Apr 16, 2026
cf25779
TPCFastTransform: cleanup
cbmsw Apr 16, 2026
03ca147
GPU OpenCL: Fix support for half precision
davidrohr Apr 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions Common/Field/src/MagFieldFast.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@
#include "Field/MagFieldFast.h"
#include <GPUCommonLogger.h>

#ifndef GPUCA_GPUCODE_DEVICE
#include <cmath>
#include <fstream>
#include <sstream>
using namespace std;
#endif

using namespace o2::field;

Expand Down
6 changes: 3 additions & 3 deletions Common/MathUtils/include/MathUtils/detail/Bracket.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#define ALICEO2_BRACKET_H

#include <GPUCommonRtypes.h>
#ifndef GPUCA_ALIGPUCODE
#ifndef GPUCA_GPUCODE_DEVICE
#include <string>
#include <sstream>
#endif
Expand Down Expand Up @@ -76,7 +76,7 @@ class Bracket
Relation isOutside(T t, T tErr) const;
Relation isOutside(T t) const;

#ifndef GPUCA_ALIGPUCODE
#ifndef GPUCA_GPUCODE_DEVICE
std::string asString() const;
#endif

Expand Down Expand Up @@ -247,7 +247,7 @@ inline typename Bracket<T>::Relation Bracket<T>::isOutside(T t) const
return t < mMin ? Below : (t > mMax ? Above : Inside);
}

#ifndef GPUCA_ALIGPUCODE
#ifndef GPUCA_GPUCODE_DEVICE
template <typename T>
std::string Bracket<T>::asString() const
{
Expand Down
4 changes: 1 addition & 3 deletions Common/Utils/src/DebugStreamer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,16 @@
// or submit itself to any jurisdiction.

#include "CommonUtils/DebugStreamer.h"
#if !defined(GPUCA_GPUCODE) && !defined(GPUCA_STANDALONE)
#include <thread>
#include <fmt/format.h>
#include "TROOT.h"
#include "TKey.h"
#include <random>
#include "Framework/Logger.h"
#endif

O2ParamImpl(o2::utils::ParameterDebugStreamer);

#if !defined(GPUCA_GPUCODE) && !defined(GPUCA_STANDALONE) && defined(DEBUG_STREAMER)
#if defined(DEBUG_STREAMER)

o2::utils::DebugStreamer::DebugStreamer()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,12 @@ class CalibdEdxCorrection
static constexpr int FitSize = 288; ///< Number of fitted corrections
static constexpr int ParamSize = 8; ///< Number of params per fit

#if !defined(GPUCA_ALIGPUCODE)
#if !defined(GPUCA_GPUCODE)
CalibdEdxCorrection()
{
clear();
}
CalibdEdxCorrection(std::string_view fileName) { loadFromFile(fileName); }
#else
CalibdEdxCorrection() = default;
#endif
~CalibdEdxCorrection() = default;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace constants
constexpr int MAXSECTOR = 36;

// the number of global pad rows
#if defined(GPUCA_STANDALONE) && !defined(GPUCA_O2_LIB) && !defined(GPUCA_TPC_GEOMETRY_O2)
#if defined(GPUCA_STANDALONE) && defined(GPUCA_RUN2)
constexpr int MAXGLOBALPADROW = 159; // Number of pad rows in Run 2, used for GPU TPC tests with Run 2 data
#else
constexpr int MAXGLOBALPADROW = 152; // Correct number of pad rows in Run 3
Expand Down
6 changes: 6 additions & 0 deletions DataFormats/Detectors/TPC/src/CalibdEdxCorrection.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@
#include <algorithm>
#include <string_view>

#ifndef GPUCA_STANDALONE
// o2 includes
#include "Framework/Logger.h"
#include "DataFormatsTPC/Defs.h"
#include "CommonUtils/TreeStreamRedirector.h"

// root includes
#include "TFile.h"
#endif

using namespace o2::tpc;

Expand All @@ -37,6 +39,8 @@ void CalibdEdxCorrection::clear()
mDims = -1;
}

#ifndef GPUCA_STANDALONE

void CalibdEdxCorrection::writeToFile(std::string_view fileName, std::string_view objName) const
{
std::unique_ptr<TFile> file(TFile::Open(fileName.data(), "recreate"));
Expand Down Expand Up @@ -181,3 +185,5 @@ void CalibdEdxCorrection::setUnity()
}
mDims = 0;
}

#endif // GPUCA_STANDALONE
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#define O2_DATAFORMATS_TRACK_TRD_H

#include "GPUTRDTrack.h"
#include "ReconstructionDataFormats/GlobalTrackID.h"

namespace o2
{
Expand Down
3 changes: 0 additions & 3 deletions DataFormats/Detectors/TRD/src/Tracklet64.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ void Tracklet64::print() const
HelperMethods::getSector(getDetector()), HelperMethods::getStack(getDetector()), HelperMethods::getLayer(getDetector()), getROB(), getMCM(), getPadRow(), getPadCol(), getPosition(), getSlope(), getPID(), getQ0(), getQ1(), getQ2(), getFormat());
}

#ifndef GPUCA_GPUCODE_DEVICE
void Tracklet64::printStream(std::ostream& stream) const
{
stream << "Tracklet64 : 0x" << std::hex << getTrackletWord();
Expand All @@ -50,7 +49,5 @@ bool operator<(const Tracklet64& lhs, const Tracklet64& rhs)
(lhs.getDetector() == rhs.getDetector() && lhs.getROB() == rhs.getROB() && lhs.getMCM() == rhs.getMCM() && lhs.getPadRow() == rhs.getPadRow() && lhs.getPadCol() < rhs.getPadCol());
}

#endif // GPUCA_GPUCODE_DEVICE

} // namespace trd
} // namespace o2
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class PrimaryVertex : public Vertex<TimeStampWithError<float, float>>
float getZMAD() const { return mZMAD; }
void setZMAD(float v) { mZMAD = v; }

#ifndef GPUCA_ALIGPUCODE
#ifndef GPUCA_GPUCODE_DEVICE
void print() const;
std::string asString() const;
#endif
Expand All @@ -56,7 +56,7 @@ class PrimaryVertex : public Vertex<TimeStampWithError<float, float>>
ClassDefNV(PrimaryVertex, 2);
};

#ifndef GPUCA_ALIGPUCODE
#ifndef GPUCA_GPUCODE_DEVICE
std::ostream& operator<<(std::ostream& os, const o2::dataformats::PrimaryVertex& v);
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ struct PrimaryVertexExt : public PrimaryVertex {
int getNSrcA(int i) const { return nSrcA[i]; }
int getNSrcAU(int i) const { return nSrcAU[i]; }

#ifndef GPUCA_ALIGPUCODE
#ifndef GPUCA_GPUCODE_DEVICE
void print() const;
std::string asString() const;
#endif

ClassDefNV(PrimaryVertexExt, 6);
};

#ifndef GPUCA_ALIGPUCODE
#ifndef GPUCA_GPUCODE_DEVICE
std::ostream& operator<<(std::ostream& os, const o2::dataformats::PrimaryVertexExt& v);
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class TrackParametrizationWithError : public TrackParametrization<value_T>

GPUd() void print() const;
GPUd() void printHexadecimal();
#ifndef GPUCA_ALIGPUCODE
#ifndef GPUCA_GPUCODE_DEVICE
bool toFwdTrackParCov(TrackParCovFwd& t) const;
std::string asString() const;
std::string asStringHexadecimal();
Expand Down
4 changes: 0 additions & 4 deletions DataFormats/Reconstruction/src/DCA.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,16 @@ namespace o2
namespace dataformats
{

#ifndef GPUCA_GPUCODE_DEVICE
std::ostream& operator<<(std::ostream& os, const o2::dataformats::DCA& d)
{
// stream itself
os << "DCA YZ {" << d.getY() << ", " << d.getZ() << "} Cov {" << d.getSigmaY2() << ", " << d.getSigmaYZ() << ", " << d.getSigmaZ2() << "}";
return os;
}
#endif

void DCA::print() const
{
#ifndef GPUCA_GPUCODE_DEVICE
std::cout << *this << '\n';
#endif
}

} // namespace dataformats
Expand Down
4 changes: 0 additions & 4 deletions DataFormats/Reconstruction/src/PrimaryVertex.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ namespace o2
namespace dataformats
{

#ifndef GPUCA_ALIGPUCODE

std::string PrimaryVertex::asString() const
{
auto str = o2::utils::Str::concat_string(VertexBase::asString(),
Expand All @@ -44,7 +42,5 @@ void PrimaryVertex::print() const
std::cout << *this << std::endl;
}

#endif

} // namespace dataformats
} // namespace o2
4 changes: 0 additions & 4 deletions DataFormats/Reconstruction/src/PrimaryVertexExt.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ namespace o2
{
namespace dataformats
{

#ifndef GPUCA_ALIGPUCODE
using GTrackID = o2::dataformats::GlobalTrackID;

std::string PrimaryVertexExt::asString() const
Expand All @@ -45,7 +43,5 @@ void PrimaryVertexExt::print() const
std::cout << *this << std::endl;
}

#endif

} // namespace dataformats
} // namespace o2
5 changes: 0 additions & 5 deletions DataFormats/Reconstruction/src/Vertex.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ namespace o2
namespace dataformats
{

#ifndef GPUCA_GPUCODE_DEVICE
#ifndef GPUCA_NO_FMT
std::string VertexBase::asString() const
{
return fmt::format("Vtx {{{:+.4e},{:+.4e},{:+.4e}}} Cov.:{{{{{:.3e}..}},{{{:.3e},{:.3e}..}},{{{:.3e},{:.3e},{:.3e}}}}}",
Expand All @@ -39,7 +37,6 @@ void VertexBase::print() const
{
std::cout << *this << std::endl;
}
#endif

bool VertexBase::operator==(const VertexBase& other) const
{
Expand All @@ -54,8 +51,6 @@ bool VertexBase::operator==(const VertexBase& other) const
return true;
}

#endif

template class o2::dataformats::Vertex<o2::dataformats::TimeStamp<int>>;
template class o2::dataformats::Vertex<o2::dataformats::TimeStampWithError<float, float>>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define ALICEO2_INTERACTIONRECORD_H

#include "GPUCommonRtypes.h"
#ifndef GPUCA_ALIGPUCODE
#ifndef GPUCA_GPUCODE_DEVICE
#include <iosfwd>
#include <cstdint>
#endif
Expand Down
4 changes: 0 additions & 4 deletions DataFormats/common/src/InteractionRecord.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
namespace o2
{

#ifndef GPUCA_ALIGPUCODE

std::string InteractionRecord::asString() const
{
return isDummy() ? std::string{"NotSet"} : fmt::format("BCid: {:4d} Orbit: {:6d}", bc, orbit);
Expand Down Expand Up @@ -49,6 +47,4 @@ void InteractionTimeRecord::print() const
std::cout << (*this) << std::endl;
}

#endif

} // namespace o2
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,13 @@ using namespace o2::framework;

namespace o2
{
namespace tpc
{
struct CorrectionMapsLoaderGloOpts;
}

namespace align
{

/// create a processor spec
framework::DataProcessorSpec getBarrelAlignmentSpec(o2::dataformats::GlobalTrackID::mask_t srcMP, o2::dataformats::GlobalTrackID::mask_t src,
o2::detectors::DetID::mask_t dets, o2::detectors::DetID::mask_t skipDetClusters, bool enableCosmic, int postproc, bool useMC, const o2::tpc::CorrectionMapsLoaderGloOpts& sclOpts);
o2::detectors::DetID::mask_t dets, o2::detectors::DetID::mask_t skipDetClusters, bool enableCosmic, int postproc, bool useMC);

} // namespace align
} // namespace o2
Expand Down
Loading