| Package | Description |
|---|---|
| org.bytedeco.dnnl | |
| org.bytedeco.dnnl.global |
| Modifier and Type | Method and Description |
|---|---|
dnnl_memory |
dnnl_memory_handle.asDnnl_memory()
Converts a handle to the underlying C API handle type.
|
dnnl_memory |
dnnl_memory_handle.get() |
dnnl_memory |
dnnl_memory_handle.get(boolean allow_empty)
Returns the underlying C API handle.
|
dnnl_memory |
dnnl_exec_arg_t.memory()
Input/output memory
|
| Modifier and Type | Method and Description |
|---|---|
dnnl_exec_arg_t |
dnnl_exec_arg_t.memory(dnnl_memory setter) |
void |
dnnl_memory_handle.reset(dnnl_memory t) |
void |
dnnl_memory_handle.reset(dnnl_memory t,
boolean weak)
Resets the handle wrapper objects to wrap a new C API handle.
|
| Constructor and Description |
|---|
dnnl_memory_handle(dnnl_memory t) |
dnnl_memory_handle(dnnl_memory t,
boolean weak)
Constructs a handle wrapper object from a C API handle.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
dnnl.dnnl_memory_create(dnnl_memory memory,
dnnl_memory_desc_t memory_desc,
dnnl_engine engine,
Pointer handle)
Creates a memory object.
|
static int |
dnnl.dnnl_memory_destroy(dnnl_memory memory)
Destroys a memory object.
|
static int |
dnnl.dnnl_memory_get_data_handle(dnnl_memory memory,
Pointer handle) |
static int |
dnnl.dnnl_memory_get_data_handle(dnnl_memory memory,
PointerPointer handle)
Returns memory object's data handle.
|
static int |
dnnl.dnnl_memory_get_engine(dnnl_memory memory,
dnnl_engine engine)
Returns the engine of a memory object.
|
static int |
dnnl.dnnl_memory_get_engine(dnnl_memory memory,
PointerPointer engine) |
static int |
dnnl.dnnl_memory_get_memory_desc(dnnl_memory memory,
dnnl_memory_desc_t memory_desc) |
static int |
dnnl.dnnl_memory_get_memory_desc(dnnl_memory memory,
PointerPointer memory_desc)
Returns the memory descriptor for a memory object.
|
static int |
dnnl.dnnl_memory_map_data(dnnl_memory memory,
Pointer mapped_ptr) |
static int |
dnnl.dnnl_memory_map_data(dnnl_memory memory,
PointerPointer mapped_ptr)
Maps a memory object and returns a host-side pointer to a memory buffer
with a copy of its contents.
|
static int |
dnnl.dnnl_memory_set_data_handle_v2(dnnl_memory memory,
Pointer handle,
dnnl_stream stream)
Sets the underlying memory buffer.
|
static int |
dnnl.dnnl_memory_set_data_handle(dnnl_memory memory,
Pointer handle)
Sets the underlying memory buffer.
|
static int |
dnnl.dnnl_memory_unmap_data(dnnl_memory memory,
Pointer mapped_ptr)
Unmaps a memory object and writes back any changes made to the previously
mapped memory buffer.
|
Copyright © 2020. All rights reserved.