Gromacs
2018.2
|
Typed test fixture for infrastructure for host-side memory used for GPU transfers.
Public Types | |
using | ValueType = T |
Convenience type. | |
using | ViewType = ArrayRef< ValueType > |
Convenience type. | |
using | ConstViewType = ArrayRef< const ValueType > |
Convenience type. | |
Public Member Functions | |
template<typename VectorType > | |
void | fillInput (VectorType *input) const |
Prepare contents of a VectorType. | |
void | compareVectors (ConstViewType input, ConstViewType output) const |
Compares input and output vectors. | |
void | runTest (ConstViewType input, ViewType output) const |
Do some transfers and test the results. | |
Public Member Functions inherited from gmx::test::GpuTest | |
GpuTest () | |
Constructor. | |
~GpuTest () | |
Destructor. | |
bool | haveValidGpus () const |
Getter for convenience in testing. | |
Additional Inherited Members | |
Public Attributes inherited from gmx::test::GpuTest | |
gmx_gpu_info_t * | gpuInfo_ |
Information about GPUs that are present. | |