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

Sampler interface for cl_sampler. More...

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

+ Inheritance diagram for cl::Sampler:
+ Collaboration diagram for cl::Sampler:

Public Member Functions

 Sampler ()
 
 Sampler (const Context &context, cl_bool normalized_coords, cl_addressing_mode addressing_mode, cl_filter_mode filter_mode, cl_int *err=NULL)
 
 Sampler (const Sampler &sampler)
 
Sampleroperator= (const Sampler &rhs)
 
template<typename T >
cl_int getInfo (cl_sampler_info name, T *param) const
 
template<cl_int name>
detail::param_traits
< detail::cl_sampler_info,
name >::param_type 
getInfo (cl_int *err=NULL) const
 
- Public Member Functions inherited from cl::detail::Wrapper< cl_sampler >
 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_sampler >
typedef cl_sampler cl_type
 
- Protected Member Functions inherited from cl::detail::Wrapper< cl_sampler >
cl_int retain () const
 
cl_int release () const
 
- Protected Attributes inherited from cl::detail::Wrapper< cl_sampler >
cl_type object_
 

Detailed Description

Sampler interface for cl_sampler.

Definition at line 2144 of file cl.hpp.

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

Constructor & Destructor Documentation

cl::Sampler::Sampler ( )
inline

Definition at line 2147 of file cl.hpp.

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

cl::Sampler::Sampler ( const Context context,
cl_bool  normalized_coords,
cl_addressing_mode  addressing_mode,
cl_filter_mode  filter_mode,
cl_int *  err = NULL 
)
inline

Definition at line 2149 of file cl.hpp.

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

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

+ Here is the call graph for this function:

cl::Sampler::Sampler ( const Sampler sampler)
inline

Definition at line 2170 of file cl.hpp.

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

Member Function Documentation

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

Definition at line 2181 of file cl.hpp.

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

References cl::detail::errHandler(), cl::detail::getInfo(), and cl::detail::Wrapper< cl_sampler >::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_sampler_info, name>::param_type cl::Sampler::getInfo ( cl_int *  err = NULL) const
inline

Definition at line 2190 of file cl.hpp.

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

References getInfo(), and perf_headwind::name.

+ Here is the call graph for this function:

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

Definition at line 2172 of file cl.hpp.

View newest version in sPHENIX GitHub at line 2172 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: