ATLAS Offline Software
Loading...
Searching...
No Matches
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).
16namespace AthCUDA {
17 class KernelStatus;
18}
19
20namespace 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
Helper object used for synchronising GPU kernel tasks.
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.
Definition Info.h:14