gpufilter
GPU-Efficient Recursive Filtering and Summed-Area Tables
include/alloc.h File Reference

Device Memory Allocator definition. More...

#include <sstream>
#include <stdexcept>
#include <error.h>

Go to the source code of this file.

Namespaces

namespace  gpufilter
 

Main namespace for the gpufilter library.


Functions

template<class T >
T * gpufilter::cuda_new (size_t elements)
 Allocates a new memory space in the GPU.
template<class T >
void gpufilter::cuda_delete (T *d_ptr)
 Deallocates a memory space in the GPU.

Detailed Description

Device Memory Allocator definition.

Author:
Rodolfo Lima
Date:
February, 2011