ATLAS Offline Software
Control
AthenaExamples
AthExCUDA
src
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).
9
#include "
AthCUDAInterfaces/IKernelTask.h
"
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 >
24
make_CudaMultiplyTask
(
AthCUDA::KernelStatus
&
status
,
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:91
merge.status
status
Definition:
merge.py:17
Generated on Thu Nov 7 2024 21:13:02 for ATLAS Offline Software by
1.8.18