]>
Commit | Line | Data |
---|---|---|
b22af1bf | 1 | // ************************************************************************** |
2 | // This file is property of and copyright by the ALICE HLT Project * | |
3 | // ALICE Experiment at CERN, All rights reserved. * | |
4 | // * | |
5 | // Primary Authors: Sergey Gorbunov <sergey.gorbunov@kip.uni-heidelberg.de> * | |
6 | // Ivan Kisel <kisel@kip.uni-heidelberg.de> * | |
7 | // David Rohr <drohr@kip.uni-heidelberg.de> * | |
8 | // for The ALICE HLT Project. * | |
9 | // * | |
10 | // Permission to use, copy, modify and distribute this software and its * | |
11 | // documentation strictly for non-commercial purposes is hereby granted * | |
12 | // without fee, provided that the above copyright notice appears in all * | |
13 | // copies and that both the copyright notice and this permission notice * | |
14 | // appear in the supporting documentation. The authors make no claims * | |
15 | // about the suitability of this software for any purpose. It is * | |
16 | // provided "as is" without express or implied warranty. * | |
17 | // * | |
18 | //*************************************************************************** | |
19 | ||
20 | //If not building GPU Code then build dummy functions to link against | |
21 | #include "AliHLTTPCCAGPUTracker.h" | |
22 | ||
d4594e7d | 23 | #ifndef BUILD_GPU |
b22af1bf | 24 | int AliHLTTPCCAGPUTracker::InitGPU(int /*sliceCount*/, int /*forceDeviceID*/) |
25 | { | |
26 | //Dummy init function if CUDA is not available | |
27 | HLTInfo("CUDA Compiler was not available during build process, omitting CUDA initialization"); | |
28 | return(1); | |
29 | } | |
98512261 | 30 | void AliHLTTPCCAGPUTracker::StandalonePerfTime(int /*iSlice*/, int /*i*/) {} |
b22af1bf | 31 | //template <class T> inline T* AliHLTTPCCAGPUTracker::alignPointer(T* ptr, int alignment) {return(NULL);} |
32 | //bool AliHLTTPCCAGPUTracker::CudaFailedMsg(cudaError_t error) {return(true);} | |
33 | //int AliHLTTPCCAGPUTracker::CUDASync() {return(1);} | |
34 | void AliHLTTPCCAGPUTracker::SetDebugLevel(int /*dwLevel*/, std::ostream* /*NewOutFile*/) {} | |
35 | int AliHLTTPCCAGPUTracker::SetGPUTrackerOption(char* /*OptionName*/, int /*OptionValue*/) {return(1);} | |
98512261 | 36 | int AliHLTTPCCAGPUTracker::Reconstruct(AliHLTTPCCASliceOutput** /*pTracker*/, AliHLTTPCCAClusterData* /*pClusterData*/, int /*fFirstSlice*/, int /*fSliceCount*/) {return(1);} |
b22af1bf | 37 | int AliHLTTPCCAGPUTracker::ExitGPU() {return(0);} |
38 | int AliHLTTPCCAGPUTracker::InitializeSliceParam(int /*iSlice*/, AliHLTTPCCAParam& /*param*/) {} | |
d4594e7d | 39 | void AliHLTTPCCAGPUTracker::SetOutputControl( AliHLTTPCCASliceOutput::outputControlStruct* /*val*/) {}; |
40 | #endif |