|
OpenCL C++ Bindings
|
Classes | |
| struct | rebind |
Public Types | |
| typedef void | value_type |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| typedef std::size_t | size_type |
| typedef std::ptrdiff_t | difference_type |
Public Member Functions | |
| pointer | address (reference r) noexcept |
| pointer | allocate (size_type size, typename cl::SVMAllocator< void, SVMTrait >::const_pointer=0, bool map=true) |
| void | deallocate (pointer p, size_type) |
| size_type | max_size () const noexcept |
| void | construct (U *p, Args &&... args) |
| void | destroy (U *p) |
| bool | operator== (SVMAllocator const &rhs) |
| bool | operator!= (SVMAllocator const &a) |
Definition at line 4290 of file opencl.hpp.
| typedef const value_type* cl::SVMAllocator< void, SVMTrait >::const_pointer |
Definition at line 4294 of file opencl.hpp.
| typedef const value_type& cl::SVMAllocator< void, SVMTrait >::const_reference |
Definition at line 4147 of file opencl.hpp.
| typedef std::ptrdiff_t cl::SVMAllocator< void, SVMTrait >::difference_type |
Definition at line 4149 of file opencl.hpp.
| typedef value_type* cl::SVMAllocator< void, SVMTrait >::pointer |
Definition at line 4293 of file opencl.hpp.
| typedef value_type& cl::SVMAllocator< void, SVMTrait >::reference |
Definition at line 4146 of file opencl.hpp.
| typedef std::size_t cl::SVMAllocator< void, SVMTrait >::size_type |
Definition at line 4148 of file opencl.hpp.
| typedef void cl::SVMAllocator< void, SVMTrait >::value_type |
Definition at line 4292 of file opencl.hpp.
|
inline |
Definition at line 4182 of file opencl.hpp.
|
inlinenoexcept |
Definition at line 4186 of file opencl.hpp.
|
inline |
Allocate an SVM pointer.
If the allocator is coarse-grained, this will take ownership to allow containers to correctly construct data in place.
Definition at line 4202 of file opencl.hpp.
|
inline |
Definition at line 4263 of file opencl.hpp.
|
inline |
Definition at line 4240 of file opencl.hpp.
|
inline |
Definition at line 4269 of file opencl.hpp.
|
inlinenoexcept |
Return the maximum possible allocation size. This is the minimum of the maximum sizes of all devices in the context.
Definition at line 4249 of file opencl.hpp.
|
inline |
Definition at line 4282 of file opencl.hpp.
|
inline |
Returns true if the contexts match.
Definition at line 4277 of file opencl.hpp.
|
friend |
Definition at line 4303 of file opencl.hpp.