@Namespace(value="nvinfer1") public static enum nvinfer.MemoryPoolType extends Enum<nvinfer.MemoryPoolType>
IBuilderConfig::setMemoryPoolLimit, IBuilderConfig::getMemoryPoolLimit
Enum Constant and Description |
---|
kDLA_GLOBAL_DRAM
kDLA_GLOBAL_DRAM is host RAM used by DLA to store weights and metadata for execution.
|
kDLA_LOCAL_DRAM
kDLA_LOCAL_DRAM is host RAM used by DLA to share intermediate tensor data across operations.
|
kDLA_MANAGED_SRAM
kDLA_MANAGED_SRAM is a fast software managed RAM used by DLA to communicate within a layer.
|
kTACTIC_DRAM
kTACTIC_DRAM is the device DRAM used by the optimizer to
run tactics.
|
kWORKSPACE
kWORKSPACE is used by TensorRT to store intermediate buffers within an operation.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.MemoryPoolType |
intern() |
String |
toString() |
static nvinfer.MemoryPoolType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.MemoryPoolType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.MemoryPoolType kWORKSPACE
public static final nvinfer.MemoryPoolType kDLA_MANAGED_SRAM
public static final nvinfer.MemoryPoolType kDLA_LOCAL_DRAM
public static final nvinfer.MemoryPoolType kDLA_GLOBAL_DRAM
public static final nvinfer.MemoryPoolType kTACTIC_DRAM
public static nvinfer.MemoryPoolType[] values()
for (nvinfer.MemoryPoolType c : nvinfer.MemoryPoolType.values()) System.out.println(c);
public static nvinfer.MemoryPoolType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic nvinfer.MemoryPoolType intern()
public String toString()
toString
in class Enum<nvinfer.MemoryPoolType>
Copyright © 2024. All rights reserved.