Functions | |
__device__ void | add_vectors_d (const double *__restrict__ in1, const double *__restrict__ in2, double *__restrict__ out, size_t size) |
__device__ void | add_vectors_f (const float *__restrict__ in1, const float *__restrict__ in2, float *__restrict__ out, size_t size) |
__global__ void | kernel_add_vectors_d (const double *__restrict__ in1, const double *__restrict__ in2, double *__restrict__ out, size_t size) |
__global__ void | kernel_add_vectors_f (const float *__restrict__ in1, const float *__restrict__ in2, float *__restrict__ out, size_t size) |
void | opqaue_add_vectors_d (const double *in1, const double *in2, double *out, size_t size) |
void | opqaue_add_vectors_f (const float *in1, const float *in2, float *out, size_t size) |
void | requireDevices () |
Print message and exit if there are no ROCm devices. More... | |
bool | testDevices () |
In presence of ROCm devices, return true; otherwise print message and return false. More... | |
void | wrapper_add_vectors_d (const double *__restrict__ in1, const double *__restrict__ in2, double *__restrict__ out, size_t size) |
void | wrapper_add_vectors_f (const float *__restrict__ in1, const float *__restrict__ in2, float *__restrict__ out, size_t size) |
__device__ void cms::rocmtest::add_vectors_d | ( | const double *__restrict__ | in1, |
const double *__restrict__ | in2, | ||
double *__restrict__ | out, | ||
size_t | size | ||
) |
Definition at line 22 of file DeviceAddition.hip.cc.
References cms::cudacompat::blockDim, cms::cudacompat::blockIdx, cms::cudacompat::gridDim, mps_fire::i, MillePedeFileConverter_cfg::out, gpuPixelDoublets::stride, and cms::cudacompat::threadIdx.
Referenced by kernel_add_vectors_d().
__device__ void cms::rocmtest::add_vectors_f | ( | const float *__restrict__ | in1, |
const float *__restrict__ | in2, | ||
float *__restrict__ | out, | ||
size_t | size | ||
) |
Definition at line 10 of file DeviceAddition.hip.cc.
References cms::cudacompat::blockDim, cms::cudacompat::blockIdx, cms::cudacompat::gridDim, mps_fire::i, MillePedeFileConverter_cfg::out, gpuPixelDoublets::stride, and cms::cudacompat::threadIdx.
Referenced by kernel_add_vectors_f(), and HeterogeneousCoreROCmTestDevicePlugins::kernel_add_vectors_f().
__global__ void cms::rocmtest::kernel_add_vectors_d | ( | const double *__restrict__ | in1, |
const double *__restrict__ | in2, | ||
double *__restrict__ | out, | ||
size_t | size | ||
) |
Definition at line 17 of file DeviceAdditionKernel.hip.cc.
References add_vectors_d(), and MillePedeFileConverter_cfg::out.
__global__ void cms::rocmtest::kernel_add_vectors_f | ( | const float *__restrict__ | in1, |
const float *__restrict__ | in2, | ||
float *__restrict__ | out, | ||
size_t | size | ||
) |
Definition at line 10 of file DeviceAdditionKernel.hip.cc.
References add_vectors_f(), and MillePedeFileConverter_cfg::out.
void cms::rocmtest::opqaue_add_vectors_d | ( | const double * | in1, |
const double * | in2, | ||
double * | out, | ||
size_t | size | ||
) |
Definition at line 42 of file DeviceAdditionOpaque.cc.
References hipCheck, and wrapper_add_vectors_d().
void cms::rocmtest::opqaue_add_vectors_f | ( | const float * | in1, |
const float * | in2, | ||
float * | out, | ||
size_t | size | ||
) |
Definition at line 11 of file DeviceAdditionOpaque.cc.
References hipCheck, and wrapper_add_vectors_f().
Referenced by ROCmTestOpaqueAdditionModule::analyze().
void cms::rocmtest::requireDevices | ( | ) |
Print message and exit if there are no ROCm devices.
Definition at line 24 of file requireDevices.cc.
References beamvalidation::exit(), and testDevices().
bool cms::rocmtest::testDevices | ( | ) |
In presence of ROCm devices, return true; otherwise print message and return false.
Definition at line 10 of file requireDevices.cc.
References DMR_cfg::cerr, cms::alpakatools::devices(), and mps_update::status.
Referenced by requireDevices().
void cms::rocmtest::wrapper_add_vectors_d | ( | const double *__restrict__ | in1, |
const double *__restrict__ | in2, | ||
double *__restrict__ | out, | ||
size_t | size | ||
) |
Definition at line 20 of file DeviceAdditionWrapper.hip.cc.
References hipCheck, and MillePedeFileConverter_cfg::out.
Referenced by cms::cudatest::opaque_add_vectors_d(), and opqaue_add_vectors_d().
void cms::rocmtest::wrapper_add_vectors_f | ( | const float *__restrict__ | in1, |
const float *__restrict__ | in2, | ||
float *__restrict__ | out, | ||
size_t | size | ||
) |
Definition at line 11 of file DeviceAdditionWrapper.hip.cc.
References hipCheck, and MillePedeFileConverter_cfg::out.
Referenced by CUDATestWrapperAdditionModule::analyze(), ROCmTestWrapperAdditionModule::analyze(), CUDATestKernelAdditionModule::analyze(), CUDATestDeviceAdditionModule::analyze(), cms::cudatest::opaque_add_vectors_f(), and opqaue_add_vectors_f().