ATLAS Offline Software
Loading...
Searching...
No Matches
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
15namespace AthCUDAExamples {
16
26
27 public:
28 // Inherit the base class's constructor(s).
29 using AthReentrantAlgorithm::AthReentrantAlgorithm;
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
Example algorithm exercising the AthCUDA core code/services.
virtual StatusCode execute(const EventContext &ctx) const override
Function executing the algorithm.
virtual StatusCode initialize() override
Function initialising the algorithm.
ServiceHandle< AthCUDA::IKernelRunnerSvc > m_kernelRunnerSvc
The kernel runner service to use.
An algorithm that can be simultaneously executed in multiple threads.