-
Notifications
You must be signed in to change notification settings - Fork 494
GPU clusterizer with neural networks #13981
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
Changes from 1 commit
d4dc46e
c191885
05831ef
8515290
3f6c934
8ba6805
6ec3c46
626a46f
ab4653a
04084c8
01dc4a1
accd7ab
019b388
3473a06
dfffdf5
df21c96
06737fd
b148449
534da50
bb2cb6e
027e225
25093b3
74cf0e7
9232328
9a6a9e8
7251c5c
d0f4dd8
7859ab2
c6cb3e6
55621f0
a00a54b
40bc437
f0a8cc2
d3aede4
52b033f
314a0ce
684eb56
9bd1ce4
639b895
3c4c587
95bb2ff
857f27d
89c0105
45d8071
984857e
57862a6
c55cfc2
0125c2a
408787d
e830697
1ca9fa0
815cc30
0bc4097
a478634
99ca93b
db0c836
7ebdcb9
ff62b9d
6c6cb95
490170e
bca1014
b687967
70adf1e
06e26a8
bedb592
e888298
21f5694
66da84e
e8af1c2
08753dd
9155cca
05bc4b8
24bf104
ed323ec
248f9c9
f1af003
a23fdc9
bd3c8d1
cc6c05c
6e809bf
80f818d
ac61052
814d94d
c03a60e
207ba9c
c5b147f
0978c19
ad9696e
3377435
9893b43
bce04bc
713dd64
e66efb1
2b9b8da
34419f3
85d185e
49352ab
90ef464
78c342d
6a7b17c
41d80d2
bb163ea
eabba5f
1e80754
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -162,35 +162,35 @@ set(HDRS_INSTALL | |
| set(SRCS_NO_CINT ${SRCS_NO_CINT} display/GPUDisplayInterface.cxx) | ||
|
|
||
| set(SRCS_NO_CINT ${SRCS_NO_CINT} | ||
| Global/GPUChainITS.cxx | ||
| ITS/GPUITSFitter.cxx | ||
| ITS/GPUITSFitterKernels.cxx | ||
| dEdx/GPUdEdx.cxx | ||
| TPCConvert/GPUTPCConvert.cxx | ||
| TPCConvert/GPUTPCConvertKernel.cxx | ||
| DataCompression/GPUTPCCompression.cxx | ||
| DataCompression/GPUTPCCompressionTrackModel.cxx | ||
| DataCompression/GPUTPCCompressionKernels.cxx | ||
| DataCompression/GPUTPCDecompression.cxx | ||
| DataCompression/GPUTPCDecompressionKernels.cxx | ||
| DataCompression/TPCClusterDecompressor.cxx | ||
| DataCompression/GPUTPCClusterStatistics.cxx | ||
| TPCClusterFinder/GPUTPCClusterFinder.cxx | ||
| TPCClusterFinder/ClusterAccumulator.cxx | ||
| TPCClusterFinder/MCLabelAccumulator.cxx | ||
| TPCClusterFinder/GPUTPCCFCheckPadBaseline.cxx | ||
| TPCClusterFinder/GPUTPCCFStreamCompaction.cxx | ||
| TPCClusterFinder/GPUTPCCFChargeMapFiller.cxx | ||
| TPCClusterFinder/GPUTPCCFPeakFinder.cxx | ||
| TPCClusterFinder/GPUTPCCFNoiseSuppression.cxx | ||
| TPCClusterFinder/GPUTPCCFClusterizer.cxx | ||
| TPCClusterFinder/GPUTPCCFDeconvolution.cxx | ||
| TPCClusterFinder/GPUTPCCFMCLabelFlattener.cxx | ||
| TPCClusterFinder/GPUTPCCFDecodeZS.cxx | ||
| TPCClusterFinder/GPUTPCCFGather.cxx | ||
| Refit/GPUTrackingRefit.cxx | ||
| Refit/GPUTrackingRefitKernel.cxx | ||
| Merger/GPUTPCGMO2Output.cxx) | ||
| Global/GPUChainITS.cxx | ||
| ITS/GPUITSFitter.cxx | ||
| ITS/GPUITSFitterKernels.cxx | ||
| dEdx/GPUdEdx.cxx | ||
| TPCConvert/GPUTPCConvert.cxx | ||
| TPCConvert/GPUTPCConvertKernel.cxx | ||
| DataCompression/GPUTPCCompression.cxx | ||
| DataCompression/GPUTPCCompressionTrackModel.cxx | ||
| DataCompression/GPUTPCCompressionKernels.cxx | ||
| DataCompression/GPUTPCDecompression.cxx | ||
| DataCompression/GPUTPCDecompressionKernels.cxx | ||
| DataCompression/TPCClusterDecompressor.cxx | ||
| DataCompression/GPUTPCClusterStatistics.cxx | ||
| TPCClusterFinder/GPUTPCClusterFinder.cxx | ||
| TPCClusterFinder/ClusterAccumulator.cxx | ||
| TPCClusterFinder/MCLabelAccumulator.cxx | ||
| TPCClusterFinder/GPUTPCCFCheckPadBaseline.cxx | ||
| TPCClusterFinder/GPUTPCCFStreamCompaction.cxx | ||
| TPCClusterFinder/GPUTPCCFChargeMapFiller.cxx | ||
| TPCClusterFinder/GPUTPCCFPeakFinder.cxx | ||
| TPCClusterFinder/GPUTPCCFNoiseSuppression.cxx | ||
| TPCClusterFinder/GPUTPCCFClusterizer.cxx | ||
| TPCClusterFinder/GPUTPCCFDeconvolution.cxx | ||
| TPCClusterFinder/GPUTPCCFMCLabelFlattener.cxx | ||
| TPCClusterFinder/GPUTPCCFDecodeZS.cxx | ||
| TPCClusterFinder/GPUTPCCFGather.cxx | ||
| Refit/GPUTrackingRefit.cxx | ||
| Refit/GPUTrackingRefitKernel.cxx | ||
| Merger/GPUTPCGMO2Output.cxx) | ||
|
|
||
| if(NOT ALIGPU_BUILD_TYPE STREQUAL "Standalone") | ||
| list(APPEND SRCS_NO_CINT TPCClusterFinder/GPUTPCNNClusterizerKernels.cxx TPCClusterFinder/GPUTPCNNClusterizer.cxx TPCClusterFinder/GPUTPCNNClusterizerHost.cxx) | ||
|
|
@@ -266,20 +266,18 @@ unset(HDRS_TMP) | |
|
|
||
| # Main CMake part for O2 | ||
| if(ALIGPU_BUILD_TYPE STREQUAL "O2") | ||
|
|
||
| o2_add_library(GPUDataTypes | ||
| TARGETVARNAME targetName | ||
| PUBLIC_INCLUDE_DIRECTORIES . | ||
| Definitions | ||
| DataTypes | ||
| Definitions | ||
| DataTypes | ||
| PUBLIC_LINK_LIBRARIES O2::GPUUtils | ||
| O2::GPUCommon | ||
| O2::ReconstructionDataFormats | ||
| O2::TPCFastTransformation | ||
| O2::ML | ||
|
davidrohr marked this conversation as resolved.
Outdated
|
||
| PRIVATE_LINK_LIBRARIES O2::DataFormatsTPC | ||
| SOURCES ${SRCS_DATATYPES}) | ||
| add_compile_definitions(GPUCA_HAS_ONNX=1) | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @davidrohr This is needed, otherwise the code doesn't find GPUCA_HAS_ONNX internally. E.g. tpcNNClusterer objects are not created
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We cannot globally add compile definitions, it should be bound to a target, then we have to understand why it didn't work.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Found it: See the new commit
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But wasn't it already there in my change:
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But GPUCA_HAS_ONNX=1 is needed in two places. Not sure which changes you refer to, but I saw it only in one place before. Maybe I missed it
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, now I understand. You added the library
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
| target_compile_definitions(${targetName} PRIVATE GPUCA_O2_LIB GPUCA_TPC_GEOMETRY_O2 GPUCA_HAS_ONNX=1) | ||
|
|
||
| o2_target_root_dictionary(GPUDataTypes | ||
|
|
@@ -417,4 +415,4 @@ endif() | |
|
|
||
| if(${GPUCA_NO_FAST_MATH}) | ||
| target_compile_definitions(${targetName} PUBLIC GPUCA_NO_FAST_MATH) | ||
| endif() | ||
| endif() | ||
Uh oh!
There was an error while loading. Please reload this page.