Gromacs  2022-beta1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes
oclraii.h File Reference
#include "gromacs/gpu_utils/gmxopencl.h"
+ Include dependency graph for oclraii.h:

Description

Declare RAII helpers for OpenCL types, along with supporting type traits.

Author
Mark Abraham mark..nosp@m.j.ab.nosp@m.raham.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Classes

struct  gmx::OpenClTraits< cl_type >
 Stub for OpenCL type traits. More...
 
struct  gmx::OpenClTraitsBase< cl_type >
 Implements common trait infrastructure for OpenCL types. More...
 
struct  gmx::OpenClTraits< cl_context >
 Implements traits for cl_context. More...
 
struct  gmx::OpenClTraits< cl_command_queue >
 Implements traits for cl_command_queue. More...
 
struct  gmx::OpenClTraits< cl_program >
 Implements traits for cl_program. More...
 
struct  gmx::OpenClTraits< cl_kernel >
 Implements traits for cl_kernel. More...
 
class  gmx::ClHandle< cl_type >
 Wrapper of OpenCL type cl_type to implement RAII. More...
 

Typedefs

using gmx::ClContext = ClHandle< cl_context >
 Convenience declarations.
 
using gmx::ClCommandQueue = ClHandle< cl_command_queue >
 
using gmx::ClProgram = ClHandle< cl_program >
 
using gmx::ClKernel = ClHandle< cl_kernel >