#include <MemoryManager.h>
|
static void * | Malloc (size_t byte_size, const Device &device) |
|
static void | Free (void *ptr, const Device &device) |
|
static void | Memcpy (void *dst_ptr, const Device &dst_device, const void *src_ptr, const Device &src_device, size_t num_bytes) |
|
static void | MemcpyFromHost (void *dst_ptr, const Device &dst_device, const void *host_ptr, size_t num_bytes) |
| Same as Memcpy, but with host (CPU:0) as default src_device. More...
|
|
static void | MemcpyToHost (void *host_ptr, const void *src_ptr, const Device &src_device, size_t num_bytes) |
| Same as Memcpy, but with host (CPU:0) as default dst_device. More...
|
|
◆ Free()
void open3d::MemoryManager::Free |
( |
void * |
ptr, |
|
|
const Device & |
device |
|
) |
| |
|
static |
◆ GetDeviceMemoryManager()
◆ Malloc()
void * open3d::MemoryManager::Malloc |
( |
size_t |
byte_size, |
|
|
const Device & |
device |
|
) |
| |
|
static |
◆ Memcpy()
void open3d::MemoryManager::Memcpy |
( |
void * |
dst_ptr, |
|
|
const Device & |
dst_device, |
|
|
const void * |
src_ptr, |
|
|
const Device & |
src_device, |
|
|
size_t |
num_bytes |
|
) |
| |
|
static |
◆ MemcpyFromHost()
void open3d::MemoryManager::MemcpyFromHost |
( |
void * |
dst_ptr, |
|
|
const Device & |
dst_device, |
|
|
const void * |
host_ptr, |
|
|
size_t |
num_bytes |
|
) |
| |
|
static |
Same as Memcpy, but with host (CPU:0) as default src_device.
◆ MemcpyToHost()
void open3d::MemoryManager::MemcpyToHost |
( |
void * |
host_ptr, |
|
|
const void * |
src_ptr, |
|
|
const Device & |
src_device, |
|
|
size_t |
num_bytes |
|
) |
| |
|
static |
Same as Memcpy, but with host (CPU:0) as default dst_device.
The documentation for this class was generated from the following files: