| Package | Description |
|---|---|
| org.bytedeco.dnnl | |
| org.bytedeco.dnnl.global |
| Modifier and Type | Method and Description |
|---|---|
dnnl_stream |
dnnl_stream_handle.asDnnl_stream()
Converts a handle to the underlying C API handle type.
|
dnnl_stream |
dnnl_stream_handle.get() |
dnnl_stream |
dnnl_stream_handle.get(boolean allow_empty)
Returns the underlying C API handle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dnnl_stream_handle.reset(dnnl_stream t) |
void |
dnnl_stream_handle.reset(dnnl_stream t,
boolean weak)
Resets the handle wrapper objects to wrap a new C API handle.
|
| Constructor and Description |
|---|
dnnl_stream_handle(dnnl_stream t) |
dnnl_stream_handle(dnnl_stream t,
boolean weak)
Constructs a handle wrapper object from a C API handle.
|
stream(dnnl_stream t) |
stream(dnnl_stream t,
boolean weak) |
| Modifier and Type | Method and Description |
|---|---|
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_primitive_execute(dnnl_primitive primitive,
dnnl_stream stream,
int nargs,
dnnl_exec_arg_t args)
Executes a primitive.
|
static int |
dnnl.dnnl_stream_create_v2(dnnl_stream stream,
dnnl_engine engine,
int flags,
dnnl_stream_attr attr)
Creates an execution stream.
|
static int |
dnnl.dnnl_stream_create(dnnl_stream stream,
dnnl_engine engine,
int flags)
Creates an execution stream.
|
static int |
dnnl.dnnl_stream_destroy(dnnl_stream stream)
Destroys an execution stream.
|
static int |
dnnl.dnnl_stream_wait(dnnl_stream stream)
Waits for all primitives in the execution stream to finish computations.
|
Copyright © 2020. All rights reserved.