Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cl::Memory Class Reference

Memory interface for cl_mem. More...

#include <JETSCAPE/blob/main/external_packages/clvisc_wrapper/include/cl.hpp>

+ Inheritance diagram for cl::Memory:
+ Collaboration diagram for cl::Memory:

Public Member Functions

 Memory ()
 
 Memory (const Memory &memory)
 
Memoryoperator= (const Memory &rhs)
 
template<typename T >
cl_int getInfo (cl_mem_info name, T *param) const
 
template<cl_int name>
detail::param_traits
< detail::cl_mem_info, name >
::param_type 
getInfo (cl_int *err=NULL) const
 
- Public Member Functions inherited from cl::detail::Wrapper< cl_mem >
 Wrapper ()
 
 Wrapper (const Wrapper< cl_type > &rhs)
 
 ~Wrapper ()
 
Wrapper< cl_type > & operator= (const Wrapper< cl_type > &rhs)
 
cl_type operator() () const
 
cl_typeoperator() ()
 

Additional Inherited Members

- Public Types inherited from cl::detail::Wrapper< cl_mem >
typedef cl_mem cl_type
 
- Protected Member Functions inherited from cl::detail::Wrapper< cl_mem >
cl_int retain () const
 
cl_int release () const
 
- Protected Attributes inherited from cl::detail::Wrapper< cl_mem >
cl_type object_
 

Detailed Description

Memory interface for cl_mem.

Definition at line 1684 of file cl.hpp.

View newest version in sPHENIX GitHub at line 1684 of file cl.hpp

Constructor & Destructor Documentation

cl::Memory::Memory ( )
inline

Definition at line 1687 of file cl.hpp.

View newest version in sPHENIX GitHub at line 1687 of file cl.hpp

cl::Memory::Memory ( const Memory memory)
inline

Definition at line 1689 of file cl.hpp.

View newest version in sPHENIX GitHub at line 1689 of file cl.hpp

Member Function Documentation

template<typename T >
cl_int cl::Memory::getInfo ( cl_mem_info  name,
T param 
) const
inline

Definition at line 1700 of file cl.hpp.

View newest version in sPHENIX GitHub at line 1700 of file cl.hpp

References cl::detail::errHandler(), cl::detail::getInfo(), and cl::detail::Wrapper< cl_mem >::object_.

Referenced by getInfo().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<cl_int name>
detail::param_traits<detail::cl_mem_info, name>::param_type cl::Memory::getInfo ( cl_int *  err = NULL) const
inline

Definition at line 1709 of file cl.hpp.

View newest version in sPHENIX GitHub at line 1709 of file cl.hpp

References getInfo(), and perf_headwind::name.

+ Here is the call graph for this function:

Memory& cl::Memory::operator= ( const Memory rhs)
inline

Definition at line 1691 of file cl.hpp.

View newest version in sPHENIX GitHub at line 1691 of file cl.hpp

References cl::detail::Wrapper< T >::operator=().

Referenced by cl::Buffer::operator=(), and cl::Image::operator=().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


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