ATLAS Offline Software
CudaMultiplyTask.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_CUDAMULTIPLYTASK_H
6 #define ATHEXCUDA_CUDAMULTIPLYTASK_H
7 
8 // AthCUDA include(s).
10 
11 // System include(s).
12 #include <memory>
13 #include <vector>
14 
15 // Forward declaration(s).
16 namespace AthCUDA {
17  class KernelStatus;
18 }
19 
20 namespace AthCUDAExamples {
21 
23  std::unique_ptr< AthCUDA::IKernelTask >
25  std::vector< float >& array, float multiplier );
26 
27 } // namespace AthCUDAExamples
28 
29 #endif // ATHEXCUDA_CUDAMULTIPLYTASK_H
AthCUDAExamples::make_CudaMultiplyTask
std::unique_ptr< AthCUDA::IKernelTask > make_CudaMultiplyTask(AthCUDA::KernelStatus &status, std::vector< float > &array, float multiplier)
Function setting up the task performing a simple linear transformation.
AthCUDAExamples
Definition: cudaMultiply.h:11
AthCUDA::KernelStatus
Helper object used for synchronising GPU kernel tasks.
Definition: KernelStatus.h:21
AthCUDA
Definition: Info.h:14
IKernelTask.h
lumiFormat.array
array
Definition: lumiFormat.py:98
merge.status
status
Definition: merge.py:17