GpuAccelerationConfig.GpuBackend
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
GpuAccelerationConfig.GpuBackend is an enum used to select the GPU backend.
It includes enum values for OPENCL, OPENGL, and UNSET.
OPENCL enforces execution with Open CL, OPENGL enforces execution with Open GL, and UNSET tries OpenCL first then falls back to OpenGL.
Which GPU backend to select.
Inherited Method Summary
From class java.lang.Enum
From class java.lang.Object
Object
clone ()
boolean
void
finalize ()
final Class <?>
getClass ()
int
hashCode ()
final void
notify ()
final void
notifyAll ()
String
toString ()
final void
wait (long arg0, int arg1)
final void
wait (long arg0)
final void
wait ()
From interface java.lang.constant.Constable
abstract Optional <? extends ConstantDesc>
describeConstable ()
From interface java.lang.Comparable
Enum Values
public static final
GpuAccelerationConfig.GpuBackend OPENCL
Enforces execution with Open CL.
public static final
GpuAccelerationConfig.GpuBackend OPENGL
Enforces execution with Open GL.
public static final
GpuAccelerationConfig.GpuBackend UNSET
Try OpenCL first. Fall back to OpenGL if it's not available.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-18 UTC.
[null,null,["Last updated 2024-11-18 UTC."],[],["`GpuAccelerationConfig.GpuBackend` is an enum for selecting a GPU backend, offering options like `OPENCL`, `OPENGL`, and `UNSET`. `OPENCL` enforces OpenCL execution, `OPENGL` enforces OpenGL, and `UNSET` prioritizes OpenCL but falls back to OpenGL if necessary. Inherited methods from `Enum`, `Object`, `Constable`, and `Comparable` allow for actions like comparing, cloning, retrieving names, and handling constants.\n"]]