Gromacs  2019-beta2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
TypedClMemory< ValueType > Class Template Reference

#include <gromacs/gpu_utils/devicebuffer_ocl.h>


template<typename ValueType>
class TypedClMemory< ValueType >

A minimal cl_mem wrapper that remembers its allocation type. The only point is making template type deduction possible.

Public Member Functions

TypedClMemoryoperator= (cl_mem data)
 An assignment operator - the purpose is to make allocation/zeroing work.
 operator cl_mem ()
 Returns underlying cl_mem transparently.

The documentation for this class was generated from the following file: