Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Typedefs
gputraits_ocl.h File Reference
#include "gromacs/gpu_utils/gmxopencl.h"
+ Include dependency graph for gputraits_ocl.h:
+ This graph shows which files directly or indirectly include this file:

Description

Declares the OpenCL type traits.

Author
Aleksei Iupinov a.yup.nosp@m.inov.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Macros

#define c_canEmbedBuffers   false
 Sets whether device code can use arrays that are embedded in structs. Note that OpenCL 2.x might be able to do this, but we use 1.2.
 

Typedefs

using CommandStream = cl_command_queue
 GPU command stream.
 
using CommandEvent = cl_event
 Single GPU call timing event.
 
using DeviceContext = cl_context
 Context used explicitly in OpenCL.