Gromacs  2026.0-dev-20241212-74b8831
 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:

Description

Declares the HIP type traits.

Author
Paul Bauer paul..nosp@m.baue.nosp@m.r.q@g.nosp@m.mail.nosp@m..com

Classes

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...
 

Macros

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

Typedefs

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.