Block represent a chunk of memory (on device or host).
More...
#include <common.h>
|
| Block (void *ptr, size_t size, size_t offset=0) |
|
void * | mutable_data () |
|
const void * | data () const |
|
size_t | size () const |
|
size_t | offset () const |
|
int | IncRefCount () |
|
int | DecRefCount () |
|
int | ref_count () const |
|
bool | initialized () const |
|
Block represent a chunk of memory (on device or host).
The documentation for this class was generated from the following file:
- /home/moaz/incubator-singa/include/singa/core/common.h