ATLAS Offline Software
LinearTransformTaskExampleAlg.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 //
3 // Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
4 //
5 #ifndef ATHEXCUDA_LINEARTRANSFORMTASKEXAMPLEALG_H
6 #define ATHEXCUDA_LINEARTRANSFORMTASKEXAMPLEALG_H
7 
8 // AthCUDA include(s).
10 
11 // Framework include(s).
12 #include "GaudiKernel/ServiceHandle.h"
14 
15 namespace AthCUDAExamples {
16 
26 
27  public:
28  // Inherit the base class's constructor(s).
30 
32  virtual StatusCode initialize() override;
33 
35  virtual StatusCode execute( const EventContext& ctx ) const override;
36 
37  private:
40  "KernelRunnerSvc", "AthCUDA::KernelRunnerSvc",
41  "The kernel runner service to use" };
42 
43  }; // class LinearTransformTaskExampleAlg
44 
45 } // namespace AthCUDAExamples
46 
47 #endif // ATHEXCUDA_LINEARTRANSFORMTASKEXAMPLEALG_H
AthCUDAExamples::LinearTransformTaskExampleAlg
Example algorithm exercising the AthCUDA core code/services.
Definition: LinearTransformTaskExampleAlg.h:25
AthCUDAExamples
Definition: cudaMultiply.h:11
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IKernelRunnerSvc.h
AthCUDAExamples::LinearTransformTaskExampleAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
Definition: LinearTransformTaskExampleAlg.cxx:24
AthReentrantAlgorithm.h
AthCUDAExamples::LinearTransformTaskExampleAlg::initialize
virtual StatusCode initialize() override
Function initialising the algorithm.
Definition: LinearTransformTaskExampleAlg.cxx:14
AthCUDAExamples::LinearTransformTaskExampleAlg::m_kernelRunnerSvc
ServiceHandle< AthCUDA::IKernelRunnerSvc > m_kernelRunnerSvc
The kernel runner service to use.
Definition: LinearTransformTaskExampleAlg.h:39
ServiceHandle< AthCUDA::IKernelRunnerSvc >