public static enum CudaJitOptions.Fallback extends java.lang.Enum<CudaJitOptions.Fallback>
Fallback
identifies the available fall-back strategies
when an exactly matching object is not available.Enum Constant and Description |
---|
PreferBinary
Prefer to fall back to compatible binary code if exact match not found.
|
PreferPtx
Prefer to compile ptx if exact binary match not found.
|
Modifier and Type | Method and Description |
---|---|
static CudaJitOptions.Fallback |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CudaJitOptions.Fallback[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CudaJitOptions.Fallback PreferBinary
public static final CudaJitOptions.Fallback PreferPtx
public static CudaJitOptions.Fallback[] values()
for (CudaJitOptions.Fallback c : CudaJitOptions.Fallback.values()) System.out.println(c);
public static CudaJitOptions.Fallback valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullEclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 2013, 2023 IBM Corp. and others.