@Namespace(value="nvinfer1") public static enum nvinfer.HardwareCompatibilityLevel extends Enum<nvinfer.HardwareCompatibilityLevel>
Enum Constant and Description |
---|
kAMPERE_PLUS
Require that the engine is compatible with Ampere and newer GPUs.
|
kNONE
Do not require hardware compatibility with GPU architectures other than that of the GPU on which the engine was
built.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.HardwareCompatibilityLevel |
intern() |
String |
toString() |
static nvinfer.HardwareCompatibilityLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.HardwareCompatibilityLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.HardwareCompatibilityLevel kNONE
public static final nvinfer.HardwareCompatibilityLevel kAMPERE_PLUS
public static nvinfer.HardwareCompatibilityLevel[] values()
for (nvinfer.HardwareCompatibilityLevel c : nvinfer.HardwareCompatibilityLevel.values()) System.out.println(c);
public static nvinfer.HardwareCompatibilityLevel 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.HardwareCompatibilityLevel intern()
public String toString()
toString
in class Enum<nvinfer.HardwareCompatibilityLevel>
Copyright © 2024. All rights reserved.