|
|
template<typename T > |
| using | deleted_unique_ptr = std::unique_ptr< T, std::function< void(T *)>> |
| |
|
|
| GLContext (const DeviceOption &option) |
| |
|
template<class SrcContext , class DstContext > |
| void | CopyBytes (size_t nbytes, const void *src, void *dst) |
| |
|
template<typename T , class SrcContext , class DstContext > |
| void | Copy (int n, const T *src, T *dst) |
| |
|
template<class SrcContext , class DstContext > |
| void | CopyItems (const TypeMeta &meta, size_t n, const void *src, void *dst) |
| |
|
void | SwitchToDevice (int a,...) |
| |
|
void | SwitchToDevice () |
| |
|
void | WaitEvent (const Event &ev) |
| |
|
void | FinishDeviceComputation () |
| |
|
void | Record (Event *ev, const char *&) const |
| |
|
bool | HasAsyncPartDefault () const |
| |
|
bool | SupportsAsyncScheduling () const |
| |
|
|
static void | sync () |
| |
|
template<typename T > |
| static deleted_unique_ptr< const GLTensor< T > > | getGLTensor (const Blob *b) |
| |
|
static std::pair< void *, MemoryDeleter > | New (size_t nbytes) |
| |
|
static void | Delete (void *data) |
| |
|
static bool | IsStreamFree (const DeviceOption &, int) |
| |
|
|
static bool | initialized = false |
| |
Definition at line 36 of file context.h.
The documentation for this class was generated from the following files:
- caffe2/mobile/contrib/arm-compute/core/context.h
- caffe2/mobile/contrib/arm-compute/core/context.cc