@Namespace(value="nvinfer1::apiv") @Properties(inherit=nvinfer.class) public class VExecutionContext extends VRoot
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
VExecutionContext(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allInputDimensionsSpecified() |
boolean |
allInputShapesSpecified() |
boolean |
enqueue(int batchSize,
Pointer bindings,
org.bytedeco.cuda.cudart.CUstream_st stream,
org.bytedeco.cuda.cudart.CUevent_st inputConsumed) |
boolean |
enqueue(int batchSize,
PointerPointer bindings,
org.bytedeco.cuda.cudart.CUstream_st stream,
org.bytedeco.cuda.cudart.CUevent_st inputConsumed) |
boolean |
enqueueV2(Pointer bindings,
org.bytedeco.cuda.cudart.CUstream_st stream,
org.bytedeco.cuda.cudart.CUevent_st inputConsumed) |
boolean |
enqueueV2(PointerPointer bindings,
org.bytedeco.cuda.cudart.CUstream_st stream,
org.bytedeco.cuda.cudart.CUevent_st inputConsumed) |
boolean |
execute(int batchSize,
Pointer bindings) |
boolean |
execute(int batchSize,
PointerPointer bindings) |
boolean |
executeV2(Pointer bindings) |
boolean |
executeV2(PointerPointer bindings) |
Dims32 |
getBindingDimensions(int bindingIndex) |
boolean |
getDebugSync() |
ICudaEngine |
getEngine() |
boolean |
getEnqueueEmitsProfile() |
IErrorRecorder |
getErrorRecorder() |
String |
getName() |
int |
getOptimizationProfile() |
IProfiler |
getProfiler() |
boolean |
getShapeBinding(int bindingIndex,
int[] data) |
boolean |
getShapeBinding(int bindingIndex,
IntBuffer data) |
boolean |
getShapeBinding(int bindingIndex,
IntPointer data) |
Dims32 |
getStrides(int bindingIndex) |
boolean |
reportToProfiler() |
boolean |
setBindingDimensions(int bindingIndex,
Dims32 dimensions) |
void |
setDebugSync(boolean sync) |
void |
setDeviceMemory(Pointer memory) |
void |
setEnqueueEmitsProfile(boolean enqueueEmitsProfile) |
void |
setErrorRecorder(IErrorRecorder recorder) |
boolean |
setInputShapeBinding(int bindingIndex,
int[] data) |
boolean |
setInputShapeBinding(int bindingIndex,
IntBuffer data) |
boolean |
setInputShapeBinding(int bindingIndex,
IntPointer data) |
void |
setName(BytePointer name) |
void |
setName(String name) |
boolean |
setOptimizationProfile(int profileIndex) |
boolean |
setOptimizationProfileAsync(int profileIndex,
org.bytedeco.cuda.cudart.CUstream_st stream) |
void |
setProfiler(IProfiler arg0) |
getPointer, positionaddress, 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, zeropublic VExecutionContext(Pointer p)
Pointer(Pointer).@Cast(value="bool") @NoException(value=true) public boolean execute(int batchSize, @Cast(value="void*const*") PointerPointer bindings)
@Cast(value="bool") @NoException(value=true) public boolean execute(int batchSize, @Cast(value="void*const*") @ByPtrPtr Pointer bindings)
@Cast(value="bool") @NoException(value=true) public boolean enqueue(int batchSize, @Cast(value="void*const*") PointerPointer bindings, org.bytedeco.cuda.cudart.CUstream_st stream, @ByPtrPtr org.bytedeco.cuda.cudart.CUevent_st inputConsumed)
@Cast(value="bool") @NoException(value=true) public boolean enqueue(int batchSize, @Cast(value="void*const*") @ByPtrPtr Pointer bindings, org.bytedeco.cuda.cudart.CUstream_st stream, @ByPtrPtr org.bytedeco.cuda.cudart.CUevent_st inputConsumed)
@NoException(value=true) public void setDebugSync(@Cast(value="bool") boolean sync)
@Cast(value="bool") @NoException(value=true) public boolean getDebugSync()
@NoException(value=true) public void setProfiler(IProfiler arg0)
@NoException(value=true) public IProfiler getProfiler()
@Const @ByRef @NoException(value=true) public ICudaEngine getEngine()
@NoException(value=true) public void setName(String name)
@NoException(value=true) public void setName(@Cast(value="const char*") BytePointer name)
@NoException(value=true) public String getName()
@NoException(value=true) public void setDeviceMemory(Pointer memory)
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getStrides(int bindingIndex)
@Cast(value="bool") @NoException(value=true) public boolean setOptimizationProfile(int profileIndex)
@NoException(value=true) public int getOptimizationProfile()
@Cast(value="bool") @NoException(value=true) public boolean setBindingDimensions(int bindingIndex, @ByVal @Cast(value="nvinfer1::Dims*") Dims32 dimensions)
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims32 getBindingDimensions(int bindingIndex)
@Cast(value="bool") @NoException(value=true) public boolean setInputShapeBinding(int bindingIndex, @Const IntPointer data)
@Cast(value="bool") @NoException(value=true) public boolean setInputShapeBinding(int bindingIndex, @Const IntBuffer data)
@Cast(value="bool") @NoException(value=true) public boolean setInputShapeBinding(int bindingIndex, @Const int[] data)
@Cast(value="bool") @NoException(value=true) public boolean getShapeBinding(int bindingIndex, IntPointer data)
@Cast(value="bool") @NoException(value=true) public boolean getShapeBinding(int bindingIndex, IntBuffer data)
@Cast(value="bool") @NoException(value=true) public boolean getShapeBinding(int bindingIndex, int[] data)
@Cast(value="bool") @NoException(value=true) public boolean allInputDimensionsSpecified()
@Cast(value="bool") @NoException(value=true) public boolean allInputShapesSpecified()
@NoException(value=true) public void setErrorRecorder(IErrorRecorder recorder)
@NoException(value=true) public IErrorRecorder getErrorRecorder()
@Cast(value="bool") @NoException(value=true) public boolean executeV2(@Cast(value="void*const*") PointerPointer bindings)
@Cast(value="bool") @NoException(value=true) public boolean executeV2(@Cast(value="void*const*") @ByPtrPtr Pointer bindings)
@Cast(value="bool") @NoException(value=true) public boolean enqueueV2(@Cast(value="void*const*") PointerPointer bindings, org.bytedeco.cuda.cudart.CUstream_st stream, @ByPtrPtr org.bytedeco.cuda.cudart.CUevent_st inputConsumed)
@Cast(value="bool") @NoException(value=true) public boolean enqueueV2(@Cast(value="void*const*") @ByPtrPtr Pointer bindings, org.bytedeco.cuda.cudart.CUstream_st stream, @ByPtrPtr org.bytedeco.cuda.cudart.CUevent_st inputConsumed)
@Cast(value="bool") @NoException(value=true) public boolean setOptimizationProfileAsync(int profileIndex, org.bytedeco.cuda.cudart.CUstream_st stream)
@NoException(value=true) public void setEnqueueEmitsProfile(@Cast(value="bool") boolean enqueueEmitsProfile)
@Cast(value="bool") @NoException(value=true) public boolean getEnqueueEmitsProfile()
@Cast(value="bool") @NoException(value=true) public boolean reportToProfiler()
Copyright © 2022. All rights reserved.