Cuda battery library
Loading...
Searching...
No Matches
battery::standard_allocator Class Reference

#include <allocator.hpp>

Public Member Functions

CUDA NI void * allocate (size_t bytes)
 
CUDA NI void deallocate (void *data)
 
CUDA bool operator== (const standard_allocator &) const
 

Detailed Description

This allocator call the standard malloc and free functions.

Member Function Documentation

◆ allocate()

CUDA NI void * battery::standard_allocator::allocate ( size_t bytes)
inline

◆ deallocate()

CUDA NI void battery::standard_allocator::deallocate ( void * data)
inline

◆ operator==()

CUDA bool battery::standard_allocator::operator== ( const standard_allocator & ) const
inline

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