@Namespace(value="dnnl") @Properties(inherit=dnnl.class) public class stream extends dnnl_stream_handle
An execution stream.
Modifier and Type | Class and Description |
---|---|
static class |
stream.flags
Stream flags.
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
stream() |
stream(dnnl_stream t) |
stream(dnnl_stream t,
boolean weak) |
stream(engine aengine) |
stream(engine aengine,
stream.flags aflags)
Constructs a stream for the specified engine and with behavior
controlled by the specified flags.
|
stream(long size)
Native array allocator.
|
stream(Pointer p)
Pointer cast constructor.
|
stream(stream arg0) |
Modifier and Type | Method and Description |
---|---|
stream |
_wait()
Waits for all primitives executing in the stream to finish.
|
engine |
get_engine()
Returns the associated engine.
|
stream |
getPointer(long i) |
stream |
position(long position) |
asBoolean, asDnnl_stream, equals, get, get, notEquals, put, reset, reset
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public stream()
public stream(dnnl_stream t, @Cast(value="bool") boolean weak)
public stream(dnnl_stream t)
public stream(Pointer p)
Pointer(Pointer)
.public stream(long size)
Pointer.position(long)
.public stream(@Const @ByRef engine aengine, stream.flags aflags)
aengine
- Engine to create the stream on.aflags
- Flags controlling stream behavior.public stream position(long position)
position
in class dnnl_stream_handle
public stream getPointer(long i)
getPointer
in class dnnl_stream_handle
Copyright © 2024. All rights reserved.