curfil  ..
 All Classes Functions Variables Typedefs Friends Groups Pages
Public Member Functions | List of all members
cuv::default_allocator Class Reference

Allocator allows allocation, deallocation and copying depending on memory_space_type. More...

#include <allocators.hpp>

Inheritance diagram for cuv::default_allocator:
cuv::allocator cuv::cuda_allocator

Public Member Functions

virtual void alloc (void **ptr, size_t memsize, size_t valueSize, host_memory_space)
virtual void alloc (void **ptr, size_t memsize, size_t valueSize, dev_memory_space)
virtual void alloc2d (void **ptr, size_t &pitch, size_t height, size_t width, size_t valueSize, host_memory_space)
virtual void alloc2d (void **ptr, size_t &pitch, size_t height, size_t width, size_t valueSize, dev_memory_space)
virtual void dealloc (void **ptr, host_memory_space)
virtual void dealloc (void **ptr, dev_memory_space)

Detailed Description

Allocator allows allocation, deallocation and copying depending on memory_space_type.

Definition at line 50 of file allocators.hpp.


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