@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.
|
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).@NoException(value=true) public IExecutionContext getPImpl()
@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)
@NoException(value=true) public int getOptimizationProfile()
@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 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()
@Cast(value="bool") @NoException(value=true) public boolean setInputShape(String tensorName, @Cast(value="const nvinfer1::Dims*") @ByRef Dims64 dims)
@Cast(value="bool") @NoException(value=true) public boolean setInputShape(@Cast(value="const char*") BytePointer tensorName, @Cast(value="const nvinfer1::Dims*") @ByRef Dims64 dims)
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims64 getTensorShape(String tensorName)
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims64 getTensorShape(@Cast(value="const char*") BytePointer tensorName)
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims64 getTensorStrides(String tensorName)
@ByVal @Cast(value="nvinfer1::Dims*") @NoException(value=true) public Dims64 getTensorStrides(@Cast(value="const char*") BytePointer tensorName)
@Cast(value="bool") @NoException(value=true) public boolean setTensorAddress(String tensorName, Pointer data)
@Cast(value="bool") @NoException(value=true) public boolean setTensorAddress(@Cast(value="const char*") BytePointer tensorName, Pointer data)
@Const @NoException(value=true) public Pointer getTensorAddress(String tensorName)
@Const @NoException(value=true) public Pointer getTensorAddress(@Cast(value="const char*") BytePointer tensorName)
@Cast(value="bool") @NoException(value=true) public boolean setInputTensorAddress(String tensorName, @Const Pointer data)
@Cast(value="bool") @NoException(value=true) public boolean setInputTensorAddress(@Cast(value="const char*") BytePointer tensorName, @Const Pointer data)
@Cast(value="bool") @NoException(value=true) public boolean setOutputTensorAddress(String tensorName, Pointer data)
@Cast(value="bool") @NoException(value=true) public boolean setOutputTensorAddress(@Cast(value="const char*") BytePointer tensorName, Pointer data)
@NoException(value=true) public int inferShapes(int nbMaxNames, @Cast(value="const char**") PointerPointer tensorNames)
@NoException(value=true) public int inferShapes(int nbMaxNames, @Cast(value="const char**") @ByPtrPtr BytePointer tensorNames)
@NoException(value=true) public int inferShapes(int nbMaxNames, @Cast(value="const char**") @ByPtrPtr ByteBuffer tensorNames)
@NoException(value=true) public int inferShapes(int nbMaxNames, @Cast(value="const char**") @ByPtrPtr byte[] tensorNames)
@Cast(value="bool") @NoException(value=true) public boolean setInputConsumedEvent(org.bytedeco.cuda.cudart.CUevent_st event)
@NoException(value=true) public org.bytedeco.cuda.cudart.CUevent_st getInputConsumedEvent()
@NoException(value=true) public Pointer getOutputTensorAddress(String tensorName)
@NoException(value=true) public Pointer getOutputTensorAddress(@Cast(value="const char*") BytePointer tensorName)
@Cast(value="bool") @NoException(value=true) public boolean setOutputAllocator(String tensorName, IOutputAllocator outputAllocator)
@Cast(value="bool") @NoException(value=true) public boolean setOutputAllocator(@Cast(value="const char*") BytePointer tensorName, IOutputAllocator outputAllocator)
@NoException(value=true) public IOutputAllocator getOutputAllocator(String name)
@NoException(value=true) public IOutputAllocator getOutputAllocator(@Cast(value="const char*") BytePointer name)
@Cast(value="int64_t") @NoException(value=true) public long getMaxOutputSize(String tensorName)
@Cast(value="int64_t") @NoException(value=true) public long getMaxOutputSize(@Cast(value="const char*") BytePointer tensorName)
@Cast(value="bool") @NoException(value=true) public boolean setTemporaryStorageAllocator(IGpuAllocator allocator)
@NoException(value=true) public IGpuAllocator getTemporaryStorageAllocator()
@Cast(value="bool") @NoException(value=true) public boolean enqueueV3(org.bytedeco.cuda.cudart.CUstream_st stream)
@NoException(value=true) public void setPersistentCacheLimit(@Cast(value="size_t") long size)
@Cast(value="size_t") @NoException(value=true) public long getPersistentCacheLimit()
@Cast(value="bool") @NoException(value=true) public boolean setNvtxVerbosity(nvinfer.ProfilingVerbosity verbosity)
@Cast(value="bool") @NoException(value=true) public boolean setNvtxVerbosity(@Cast(value="nvinfer1::ProfilingVerbosity") int verbosity)
@NoException(value=true) public nvinfer.ProfilingVerbosity getNvtxVerbosity()
@NoException(value=true) public void setAuxStreams(@ByPtrPtr org.bytedeco.cuda.cudart.CUstream_st auxStreams, int nbStreams)
@Cast(value="bool") @NoException(value=true) public boolean setDebugListener(IDebugListener listener)
@NoException(value=true) public IDebugListener getDebugListener()
@Cast(value="bool") @NoException(value=true) public boolean setTensorDebugState(String name, @Cast(value="bool") boolean flag)
@Cast(value="bool") @NoException(value=true) public boolean setTensorDebugState(@Cast(value="const char*") BytePointer name, @Cast(value="bool") boolean flag)
@Cast(value="bool") @NoException(value=true) public boolean getDebugState(String name)
@Cast(value="bool") @NoException(value=true) public boolean getDebugState(@Cast(value="const char*") BytePointer name)
@Cast(value="bool") @NoException(value=true) public boolean setAllTensorsDebugState(@Cast(value="bool") boolean flag)
@Cast(value="size_t") @NoException(value=true) public long updateDeviceMemorySizeForShapes()
@NoException(value=true) public void setDeviceMemoryV2(Pointer memory, @Cast(value="int64_t") long size)
@NoException(value=true) public IRuntimeConfig getRuntimeConfig()
@Cast(value="bool") @NoException(value=true) public boolean setUnfusedTensorsDebugState(@Cast(value="bool") boolean flag)
@Cast(value="bool") @NoException(value=true) public boolean getUnfusedTensorsDebugState()
Copyright © 2025. All rights reserved.