src
HeterogeneousTest
ROCmKernel
plugins
ROCmTestKernelAdditionAlgo.hip.cc
Go to the documentation of this file.
1
#include <cstddef>
2
3
#include <hip/hip_runtime.h>
4
5
#include "
HeterogeneousTest/ROCmKernel/interface/DeviceAdditionKernel.h
"
6
#include "
HeterogeneousCore/ROCmUtilities/interface/hipCheck.h
"
7
8
#include "
ROCmTestKernelAdditionAlgo.h
"
9
10
namespace
HeterogeneousCoreROCmTestKernelPlugins
{
11
12
void
wrapper_add_vectors_f
(
const
float
* __restrict__ in1,
13
const
float
* __restrict__ in2,
14
float
* __restrict__
out
,
15
size_t
size
) {
16
cms::rocmtest::kernel_add_vectors_f<<<32, 32>>>(in1, in2,
out
,
size
);
17
hipCheck
(hipGetLastError());
18
}
19
20
}
// namespace HeterogeneousCoreROCmTestKernelPlugins
findQualityFiles.size
size
Write out results.
Definition:
findQualityFiles.py:443
ROCmTestKernelAdditionAlgo.h
DeviceAdditionKernel.h
HeterogeneousCoreROCmTestKernelPlugins
Definition:
ROCmTestKernelAdditionAlgo.h:6
HeterogeneousCoreROCmTestKernelPlugins::wrapper_add_vectors_f
void wrapper_add_vectors_f(const float *__restrict__ in1, const float *__restrict__ in2, float *__restrict__ out, size_t size)
Definition:
ROCmTestKernelAdditionAlgo.hip.cc:12
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
hipCheck
#define hipCheck(ARG,...)
Definition:
hipCheck.h:52
hipCheck.h
Generated for CMSSW Reference Manual by
1.8.14