Gromacs  2025-dev-20240614-602a366
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros | Typedefs
gputraits_hip.h File Reference
#include <hip/hip_runtime.h>
#include "gromacs/math/vectypes.h"
+ Include dependency graph for gputraits_hip.h:
+ This graph shows which files directly or indirectly include this file:


Declares the HIP type traits.

Paul Bauer
Julio Maia


struct  KernelLaunchConfig
 GPU kernels scheduling description. This is same in OpenCL/HIP. Provides reasonable defaults, one typically only needs to set the GPU stream and non-1 work sizes. More...


#define c_canEmbedBuffers   true
 Sets whether device code can use arrays that are embedded in structs.


using DeviceTexture = hipTextureObject_t
 Device texture for fast read-only data fetching.
using CommandEvent = void
 Single GPU call timing event - meaningless in HIP.
using Float2 = float2
 Convenience alias for 2-wide float.
using Float3 = gmx::RVec
 Convenience alias for 3-wide float.
using Float4 = float4
 Convenience alias for 4-wide float.