|
Gromacs
2025.3
|
#include "gmxpre.h"#include "gromacs/gpu_utils/devicebuffer.h"#include "gromacs/gpu_utils/hiputils.h"#include "gromacs/gpu_utils/typecasts_cuda_hip.h"#include "gromacs/utility/arrayref.h"#include "typecasts_runner.h"
Include dependency graph for typecasts_runner_hip.cpp:Runners for tests of HIP types compatibility.
Functions | |
| void | gmx::test::saveFloat3InRVecFormat (ArrayRef< gmx::RVec > rVecOutput, const float3 *float3Output, int numElements) |
| void | gmx::test::convertRVecToFloat3OnHost (ArrayRef< gmx::RVec > rVecOutput, ArrayRef< const gmx::RVec > rVecInput) |
| Tests the compatibility of RVec and float3 using the conversion on host. More... | |
| static __global__ void | gmx::test::convertRVecToFloat3OnDevice_kernel (DeviceBuffer< float3 > gm_float3Output, DeviceBuffer< RVec > gm_rVecInput, const int size) |
| GPU kernel to perform type conversion on the device. More... | |
| void | gmx::test::convertRVecToFloat3OnDevice (ArrayRef< gmx::RVec > rVecOutput, ArrayRef< const gmx::RVec > rVecInput, const TestDevice *testDevice) |
| Tests the compatibility of RVec and float3 using the conversion on device. More... | |
Variables | |
| static constexpr int | gmx::test::c_threadsPerBlock = 256 |
| Number of HIP threads in a block. | |
1.8.5