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

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

+ Inheritance diagram for cl::Context:
+ Collaboration diagram for cl::Context:

Public Member Functions

 Context (const VECTOR_CLASS< Device > &devices, cl_context_properties *properties=NULL, void(CL_CALLBACK *notifyFptr)(const char *, const void *,::size_t, void *)=NULL, void *data=NULL, cl_int *err=NULL)
 
 Context (cl_device_type type, cl_context_properties *properties=NULL, void(CL_CALLBACK *notifyFptr)(const char *, const void *,::size_t, void *)=NULL, void *data=NULL, cl_int *err=NULL)
 
 Context ()
 
 Context (const Context &context)
 
Contextoperator= (const Context &rhs)
 
template<typename T >
cl_int getInfo (cl_context_info name, T *param) const
 
template<cl_int name>
detail::param_traits
< detail::cl_context_info,
name >::param_type 
getInfo (cl_int *err=NULL) const
 
cl_int getSupportedImageFormats (cl_mem_flags flags, cl_mem_object_type type, VECTOR_CLASS< ImageFormat > *formats) const
 
- Public Member Functions inherited from cl::detail::Wrapper< cl_context >
 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_context >
typedef cl_context cl_type
 
- Protected Member Functions inherited from cl::detail::Wrapper< cl_context >
cl_int retain () const
 
cl_int release () const
 
- Protected Attributes inherited from cl::detail::Wrapper< cl_context >
cl_type object_
 

Detailed Description

Definition at line 1417 of file cl.hpp.

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

Constructor & Destructor Documentation

cl::Context::Context ( const VECTOR_CLASS< Device > &  devices,
cl_context_properties *  properties = NULL,
void(CL_CALLBACK *notifyFptr)(const char *,const void *,::size_t,void *)  = NULL,
void *  data = NULL,
cl_int *  err = NULL 
)
inline

Definition at line 1420 of file cl.hpp.

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

References configureMap::data, cl::detail::errHandler(), acts::error, and cl::detail::Wrapper< cl_context >::object_.

+ Here is the call graph for this function:

cl::Context::Context ( cl_device_type  type,
cl_context_properties *  properties = NULL,
void(CL_CALLBACK *notifyFptr)(const char *,const void *,::size_t,void *)  = NULL,
void *  data = NULL,
cl_int *  err = NULL 
)
inline

Definition at line 1443 of file cl.hpp.

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

References configureMap::data, cl::detail::errHandler(), acts::error, and cl::detail::Wrapper< cl_context >::object_.

+ Here is the call graph for this function:

cl::Context::Context ( )
inline

Definition at line 1464 of file cl.hpp.

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

cl::Context::Context ( const Context context)
inline

Definition at line 1466 of file cl.hpp.

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

Member Function Documentation

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

Definition at line 1477 of file cl.hpp.

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

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

Referenced by getInfo(), and clvisc::OpenclBackend::OpenclBackend().

+ 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_context_info, name>::param_type cl::Context::getInfo ( cl_int *  err = NULL) const
inline

Definition at line 1486 of file cl.hpp.

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

References getInfo(), and perf_headwind::name.

+ Here is the call graph for this function:

cl_int cl::Context::getSupportedImageFormats ( cl_mem_flags  flags,
cl_mem_object_type  type,
VECTOR_CLASS< ImageFormat > *  formats 
) const
inline

Definition at line 1497 of file cl.hpp.

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

References cl::detail::errHandler(), cl::detail::Wrapper< cl_context >::object_, and value.

+ Here is the call graph for this function:

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

Definition at line 1468 of file cl.hpp.

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

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

+ Here is the call graph for this function:


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