ATLAS Offline Software
Loading...
Searching...
No Matches
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
IKernelTask.h
AthCUDA::KernelStatus
Helper object used for synchronising GPU kernel tasks.
Definition
KernelStatus.h:21
AthCUDAExamples
Definition
cudaMultiply.h:11
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.
AthCUDA
Definition
Info.h:14
Generated on
for ATLAS Offline Software by
1.14.0