#include "gmxpre.h"
#include "gromacs/math/vectypes.h"
Declare functions to be used to cast CPU types to compatible GPU types.
- Author
- Artem Zhmurov zhmur.nosp@m.ov@g.nosp@m.mail..nosp@m.com
|
static __forceinline__
__host__ __device__ float3 * | asFloat3 (gmx::RVec *in) |
| Cast RVec buffer to float3 buffer. More...
|
|
static __forceinline__
__host__ __device__ float3 ** | asFloat3Pointer (gmx::RVec **in) |
| Cast pointer RVec buffer to a pointer to float3 buffer. More...
|
|
static __host__ __device__
const float3 *const * | asFloat3Pointer (const gmx::RVec *const *in) |
|
static __forceinline__ __host__ __device__ float3* asFloat3 |
( |
gmx::RVec * |
in | ) |
|
|
static |
Cast RVec buffer to float3 buffer.
- Parameters
-
[in] | in | The RVec buffer to cast. |
- Returns
- Buffer, casted to float3*.
static __forceinline__ __host__ __device__ float3** asFloat3Pointer |
( |
gmx::RVec ** |
in | ) |
|
|
static |
Cast pointer RVec buffer to a pointer to float3 buffer.
- Parameters
-
[in] | in | The Pointer to RVec buffer to cast. |
- Returns
- Buffer pointer, casted to float3*.