File tree Expand file tree Collapse file tree 9 files changed +142
-209
lines changed
Detectors/ITSMFT/ITS/tracking Expand file tree Collapse file tree 9 files changed +142
-209
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1717#include " ITStracking/TimeFrame.h"
1818
1919#include " ITStrackingGPU/ClusterLinesGPU.h"
20- // #include "ITStrackingGPU/Array.h"
21- // #include "ITStrackingGPU/Vector.h"
2220#include " ITStrackingGPU/Stream.h"
2321
2422#include < gsl/gsl>
Original file line number Diff line number Diff line change 1717#include " ITStracking/Configuration.h"
1818
1919#include " ITStrackingGPU/ClusterLinesGPU.h"
20- #include " ITStrackingGPU/Stream.h"
2120#include " ITStrackingGPU/Utils.h"
2221
2322#include < gsl/gsl>
@@ -28,6 +27,7 @@ namespace its
2827{
2928namespace gpu
3029{
30+ class Stream ;
3131
3232class DefaultGPUAllocator : public ExternalAllocator
3333{
@@ -87,7 +87,7 @@ class TimeFrameGPU : public TimeFrame
8787 template <Task task>
8888 Stream& getStream (const size_t stream)
8989 {
90- return mGpuStreams [stream];
90+ return * mGpuStreams [stream];
9191 }
9292 void wipe (const int );
9393
@@ -199,7 +199,7 @@ class TimeFrameGPU : public TimeFrame
199199 const TrackingFrameInfo** mTrackingFrameInfoDeviceArray ;
200200
201201 // State
202- std::vector<Stream> mGpuStreams ;
202+ std::vector<Stream* > mGpuStreams ;
203203 size_t mAvailMemGB ;
204204 bool mFirstInit = true ;
205205
Original file line number Diff line number Diff line change 1717#define ITSTRACKINGGPU_UTILS_H_
1818
1919#include " GPUCommonDef.h"
20- #include " Stream.h"
2120
2221namespace o2
2322{
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ message(STATUS "Building ITS CUDA tracker")
1717# add_compile_definitions(ITS_MEASURE_GPU_TIME)
1818o2_add_library(ITStrackingCUDA
1919 SOURCES ClusterLinesGPU.cu
20- Stream.cu
2120 TrackerTraitsGPU.cxx
2221 TimeFrameGPU.cu
2322 TracerGPU.cu
Load Diff This file was deleted.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ if(HIP_ENABLED)
1515 o2_add_hipified_library(ITStrackingHIP
1616 SOURCES ../cuda/ClusterLinesGPU.cu
1717 ../cuda/TimeFrameGPU.cu
18- ../cuda/Stream.cu
1918 ../cuda/TrackerTraitsGPU.cxx
2019 ../cuda/TracerGPU.cu
2120 ../cuda/TrackingKernels.cu
Original file line number Diff line number Diff line change 2626 do { \
2727 } while (0 )
2828#endif
29-
30- #if defined(__CUDACC__) || defined(__HIPCC__)
31- #ifdef __CUDACC__
32- typedef cudaStream_t GPUStream;
33- #else // __HIPCC__
34- #ifndef GPUCA_GPUCODE_DEVICE
35- #include < hip/hip_runtime.h>
36- #endif
37- typedef hipStream_t GPUStream;
38- #endif
39- #else
40- typedef struct __dummyStream {
41- } GPUStream;
42- #endif
43-
4429#endif
You can’t perform that action at this time.
0 commit comments