Gromacs  2025-dev-20241002-88a4191
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions
gputraits.h File Reference
#include "config.h"
+ Include dependency graph for gputraits.h:
+ This graph shows which files directly or indirectly include this file:

Description

Declares the GPU type traits for non-GPU builds.

Author
Mark Abraham mark..nosp@m.j.ab.nosp@m.raham.nosp@m.@gma.nosp@m.il.co.nosp@m.m
Artem Zhmurov zhmur.nosp@m.ov@g.nosp@m.mail..nosp@m.com

Typedefs

using DeviceTexture = void *
 
using CommandEvent = void *
 Single GPU call timing event.
 

Functions

template<typename T >
static Float3gmx::asGenericFloat3Pointer (T *in)
 Reinterpret-cast any pointer in to Float3, checking the type compatibility.
 
template<typename T >
static const Float3gmx::asGenericFloat3Pointer (const T *in)
 Reinterpret-cast any const pointer in to Float3, checking the type compatibility.
 
template<typename C >
static Float3gmx::asGenericFloat3Pointer (C &in)
 Reinterpret-cast any container in to Float3, checking the type compatibility.
 
template<typename C >
static const Float3gmx::asGenericFloat3Pointer (const C &in)
 Reinterpret-cast any const container in to Float3, checking the type compatibility.