mxnet
Public Attributes | List of all members
mxnet::Storage::Handle Struct Reference

Storage handle. More...

#include <storage.h>

Collaboration diagram for mxnet::Storage::Handle:
Collaboration graph

Public Attributes

void * dptr {nullptr}
 Pointer to the data. More...
 
size_t size {0}
 Size of the storage. More...
 
Context ctx
 Context information about device and ID. More...
 
int shared_pid {-1}
 Id for IPC shared memory. More...
 
int shared_id {-1}
 
std::string profiler_scope {MXNET_STORAGE_DEFAULT_PROFILER_SCOPE_CSTR}
 Attributes for tracking storage allocations. More...
 
std::string name {MXNET_STORAGE_DEFAULT_NAME_CSTR}
 
SyncObj sync_obj
 Used to pass events back and forth between the engine Var and the storage manager. More...
 

Detailed Description

Storage handle.

Member Data Documentation

◆ ctx

Context mxnet::Storage::Handle::ctx

Context information about device and ID.

◆ dptr

void* mxnet::Storage::Handle::dptr {nullptr}

Pointer to the data.

◆ name

std::string mxnet::Storage::Handle::name {MXNET_STORAGE_DEFAULT_NAME_CSTR}

◆ profiler_scope

std::string mxnet::Storage::Handle::profiler_scope {MXNET_STORAGE_DEFAULT_PROFILER_SCOPE_CSTR}

Attributes for tracking storage allocations.

◆ shared_id

int mxnet::Storage::Handle::shared_id {-1}

◆ shared_pid

int mxnet::Storage::Handle::shared_pid {-1}

Id for IPC shared memory.

◆ size

size_t mxnet::Storage::Handle::size {0}

Size of the storage.

◆ sync_obj

SyncObj mxnet::Storage::Handle::sync_obj

Used to pass events back and forth between the engine Var and the storage manager.


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