@@ -91,16 +91,11 @@ int32_t GPUReconstructionCUDA::GPUChkErrInternal(const int64_t error, const char
9191
9292GPUReconstruction* GPUReconstruction_Create_CUDA (const GPUSettingsDeviceBackend& cfg) { return new GPUReconstructionCUDA (cfg); }
9393
94- void GPUReconstructionCUDA::GetITSTraits (std::unique_ptr<o2::its::TrackerTraits<7 >>* trackerTraits, std::unique_ptr<o2::its::VertexerTraits< 7 >>* vertexerTraits, std::unique_ptr<o2::its:: TimeFrame<7 >>* timeFrame)
94+ void GPUReconstructionCUDA::GetITSTraits (std::unique_ptr<o2::its::TrackerTraits<7 >>* trackerTraits, std::unique_ptr<o2::its::TimeFrame<7 >>* timeFrame)
9595{
9696 if (trackerTraits) {
9797 trackerTraits->reset (new o2::its::TrackerTraitsGPU);
9898 }
99- if (vertexerTraits) {
100- vertexerTraits->reset (new o2::its::VertexerTraits<7 >);
101- // TODO gpu-code to be implemented then remove line above and uncomment line below
102- // vertexerTraits->reset(new o2::its::VertexerTraitsGPU<7>);
103- }
10499 if (timeFrame) {
105100 timeFrame->reset (new o2::its::gpu::TimeFrameGPU);
106101 }
@@ -333,9 +328,9 @@ int32_t GPUReconstructionCUDA::InitDevice_Runtime()
333328 }
334329 }
335330
336- #ifndef __HIPCC__ // CUDA
331+ #ifndef __HIPCC__ // CUDA
337332 dummyInitKernel<<<mMultiprocessorCount , 256 >>> (mDeviceMemoryBase ); // TODO: Can't we just use the CUDA version and hipify will take care of the rest?
338- #else // HIP
333+ #else // HIP
339334 hipLaunchKernelGGL (HIP_KERNEL_NAME (dummyInitKernel), dim3 (mMultiprocessorCount ), dim3 (256 ), 0 , 0 , mDeviceMemoryBase );
340335#endif
341336
@@ -374,7 +369,7 @@ int32_t GPUReconstructionCUDA::InitDevice_Runtime()
374369#endif
375370 mDeviceConstantMem = (GPUConstantMem*)devPtrConstantMem;
376371
377- GPUInfo (" CUDA Initialisation successfull (Device %d: %s (Frequency %d, Cores %d), %ld / %ld bytes host / global memory, Stack frame %d, Constant memory %ld)" , mDeviceId , deviceProp.name , deviceClockRate, deviceProp.multiProcessorCount , (int64_t )mHostMemorySize , (int64_t )mDeviceMemorySize , (int32_t )GPUCA_GPU_STACK_SIZE, (int64_t )gGPUConstantMemBufferSize );
372+ GPUInfo (" CUDA Initialisation successful (Device %d: %s (Frequency %d, Cores %d), %ld / %ld bytes host / global memory, Stack frame %d, Constant memory %ld)" , mDeviceId , deviceProp.name , deviceClockRate, deviceProp.multiProcessorCount , (int64_t )mHostMemorySize , (int64_t )mDeviceMemorySize , (int32_t )GPUCA_GPU_STACK_SIZE, (int64_t )gGPUConstantMemBufferSize );
378373 } else {
379374 GPUReconstructionCUDA* master = dynamic_cast <GPUReconstructionCUDA*>(mMaster );
380375 mDeviceId = master->mDeviceId ;
@@ -388,7 +383,7 @@ int32_t GPUReconstructionCUDA::InitDevice_Runtime()
388383 mInternals = master->mInternals ;
389384 GPUChkErr (cudaSetDevice (mDeviceId ));
390385
391- GPUInfo (" CUDA Initialisation successfull (from master)" );
386+ GPUInfo (" CUDA Initialisation successful (from master)" );
392387 }
393388
394389 for (uint32_t i = 0 ; i < mEvents .size (); i++) {
0 commit comments