Classes | |
class | Thing |
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 | opaque_add_vectors_d (const double *in1, const double *in2, double *out, size_t size) |
void | opaque_add_vectors_f (const float *in1, const float *in2, float *out, size_t size) |
void | requireDevices () |
Print message and exit if there are no CUDA devices. More... | |
bool | testDevices () |
In presence of CUDA 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::cudatest::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, riemannFit::stride, and cms::cudacompat::threadIdx.
Referenced by cms::rocmtest::kernel_add_vectors_d().
__device__ void cms::cudatest::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, riemannFit::stride, and cms::cudacompat::threadIdx.
Referenced by cms::rocmtest::kernel_add_vectors_f(), and HeterogeneousCoreROCmTestDevicePlugins::kernel_add_vectors_f().
__global__ void cms::cudatest::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 cms::rocmtest::add_vectors_d(), and MillePedeFileConverter_cfg::out.
__global__ void cms::cudatest::kernel_add_vectors_f | ( | const float *__restrict__ | in1, |
const float *__restrict__ | in2, | ||
float *__restrict__ | out, | ||
size_t | size | ||
) |
Definition at line 12 of file ROCmTestDeviceAdditionAlgo.hip.cc.
References cms::rocmtest::add_vectors_f(), and MillePedeFileConverter_cfg::out.
void cms::cudatest::opaque_add_vectors_d | ( | const double * | in1, |
const double * | in2, | ||
double * | out, | ||
size_t | size | ||
) |
Definition at line 42 of file DeviceAdditionOpaque.cc.
References cudaCheck, and wrapper_add_vectors_d().
void cms::cudatest::opaque_add_vectors_f | ( | const float * | in1, |
const float * | in2, | ||
float * | out, | ||
size_t | size | ||
) |
Definition at line 11 of file DeviceAdditionOpaque.cc.
References cudaCheck, and wrapper_add_vectors_f().
Referenced by CUDATestOpaqueAdditionModule::analyze().
void cms::cudatest::requireDevices | ( | ) |
Print message and exit if there are no CUDA devices.
Definition at line 25 of file requireDevices.cc.
References beamvalidation::exit(), and testDevices().
bool cms::cudatest::testDevices | ( | ) |
In presence of CUDA devices, return true; otherwise print message and return false.
Definition at line 9 of file requireDevices.cc.
References DMR_cfg::cerr, cms::alpakatools::devices(), and mps_update::status.
Referenced by requireDevices().
void cms::cudatest::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 opaque_add_vectors_d(), and cms::rocmtest::opqaue_add_vectors_d().
void cms::cudatest::wrapper_add_vectors_f | ( | const float *__restrict__ | in1, |
const float *__restrict__ | in2, | ||
float *__restrict__ | out, | ||
size_t | size | ||
) |
Definition at line 19 of file ROCmTestDeviceAdditionAlgo.hip.cc.
References hipCheck, and MillePedeFileConverter_cfg::out.
Referenced by CUDATestWrapperAdditionModule::analyze(), ROCmTestWrapperAdditionModule::analyze(), ROCmTestKernelAdditionModule::analyze(), ROCmTestDeviceAdditionModule::analyze(), opaque_add_vectors_f(), and cms::rocmtest::opqaue_add_vectors_f().