Struct AMSDefaultDeviceAllocator

Inheritance Relationships

Base Type

Struct Documentation

struct AMSDefaultDeviceAllocator : public ams::AMSAllocator

Public Functions

inline AMSDefaultDeviceAllocator(std::string name)
inline ~AMSDefaultDeviceAllocator()
inline virtual void *allocate(size_t num_bytes, size_t alignment)
inline virtual void deallocate(void *ptr)