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

allocator that uses cudaMallocHost for allocations in host_memory_space More...

#include <allocators.hpp>

Inheritance diagram for cuv::cuda_allocator:
cuv::default_allocator cuv::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 that uses cudaMallocHost for allocations in host_memory_space

Definition at line 76 of file allocators.hpp.


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