@Namespace(value="nvinfer1::apiv") @Properties(inherit=nvinfer.class) public class VRuntime extends VRoot
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
VRuntime(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ICudaEngine |
deserializeCudaEngine(IStreamReader streamReader) |
ICudaEngine |
deserializeCudaEngine(Pointer blob,
long size) |
ICudaEngine |
deserializeCudaEngineV2(IStreamReaderV2 streamReader) |
int |
getDLACore() |
boolean |
getEngineHostCodeAllowed() |
IErrorRecorder |
getErrorRecorder() |
ILogger |
getLogger() |
int |
getMaxThreads() |
int |
getNbDLACores() |
IRuntime |
getPImpl() |
IPluginRegistry |
getPluginRegistry() |
int |
getTempfileControlFlags() |
String |
getTemporaryDirectory() |
IRuntime |
loadRuntime(BytePointer path) |
IRuntime |
loadRuntime(String path) |
void |
setDLACore(int dlaCore) |
void |
setEngineHostCodeAllowed(boolean allowed) |
void |
setErrorRecorder(IErrorRecorder recorder) |
void |
setGpuAllocator(IGpuAllocator allocator) |
boolean |
setMaxThreads(int maxThreads) |
void |
setPluginRegistryParent(IPluginRegistry parent) |
void |
setTempfileControlFlags(int arg0) |
void |
setTemporaryDirectory(BytePointer arg0) |
void |
setTemporaryDirectory(String 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 VRuntime(Pointer p)
Pointer(Pointer).@NoException(value=true) public IRuntime getPImpl()
@NoException(value=true) public ICudaEngine deserializeCudaEngine(@Const Pointer blob, @Cast(value="std::size_t") long size)
@NoException(value=true) public ICudaEngine deserializeCudaEngine(@ByRef IStreamReader streamReader)
@NoException(value=true) public void setDLACore(int dlaCore)
@NoException(value=true) public int getDLACore()
@NoException(value=true) public int getNbDLACores()
@NoException(value=true) public void setGpuAllocator(IGpuAllocator allocator)
@NoException(value=true) public void setErrorRecorder(IErrorRecorder recorder)
@NoException(value=true) public IErrorRecorder getErrorRecorder()
@NoException(value=true) public ILogger getLogger()
@Cast(value="bool") @NoException(value=true) public boolean setMaxThreads(int maxThreads)
@NoException(value=true) public int getMaxThreads()
@NoException(value=true) public void setTemporaryDirectory(String arg0)
@NoException(value=true) public void setTemporaryDirectory(@Cast(value="const char*") BytePointer arg0)
@NoException(value=true) public String getTemporaryDirectory()
@NoException(value=true) public void setTempfileControlFlags(@Cast(value="nvinfer1::TempfileControlFlags") int arg0)
@Cast(value="nvinfer1::TempfileControlFlags") @NoException(value=true) public int getTempfileControlFlags()
@ByRef @NoException(value=true) public IPluginRegistry getPluginRegistry()
@NoException(value=true) public void setPluginRegistryParent(IPluginRegistry parent)
@NoException(value=true) public IRuntime loadRuntime(String path)
@NoException(value=true) public IRuntime loadRuntime(@Cast(value="const char*") BytePointer path)
@NoException(value=true) public void setEngineHostCodeAllowed(@Cast(value="bool") boolean allowed)
@Cast(value="bool") @NoException(value=true) public boolean getEngineHostCodeAllowed()
@NoException(value=true) public ICudaEngine deserializeCudaEngineV2(@ByRef IStreamReaderV2 streamReader)
Copyright © 2025. All rights reserved.