@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(Pointer blob,
long size,
IPluginFactory pluginFactory) |
int |
getDLACore() |
IErrorRecorder |
getErrorRecorder() |
ILogger |
getLogger() |
int |
getMaxThreads() |
int |
getNbDLACores() |
void |
setDLACore(int dlaCore) |
void |
setErrorRecorder(IErrorRecorder recorder) |
void |
setGpuAllocator(IGpuAllocator allocator) |
boolean |
setMaxThreads(int maxThreads) |
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 ICudaEngine deserializeCudaEngine(@Const Pointer blob, @Cast(value="std::size_t") long size, IPluginFactory pluginFactory)
@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()
Copyright © 2022. All rights reserved.