Go to: Synopsis. Return value. Keywords. Flags. MEL examples.
openCLInfo [-limitMinimumVerts boolean] [-minVertexBuffer int] [-supportsDoublePrecision boolean] [-valid]
openCLInfo is NOT undoable, queryable, and NOT editable.
Query OpenCL information.
boolean | The state of whether OpenCL is initialized or not (with the 'valid' flag) |
In query mode, return type is based on queried flag.
OpenCL, debug
limitMinimumVerts, minVertexBuffer, supportsDoublePrecision, valid
Long name (short name) |
Argument types |
Properties |
-limitMinimumVerts(-lmv)
|
boolean
|

|
|
Specifies whether the limit on the minimum vert count of the geometry is used or not. The system configuration
determines a certain minimum size for geometries to be allowed on GPU.
When this flag is on this limit is obeyed. When this flag is off this limit is ignored.
This is only used for debugging purposes and is not saved to the file or any preferences.
|
|
-minVertexBuffer(-mvb)
|
int
|

|
|
Set the minimum vert count under which the geometry will not be allowed on the GPU (unless in a network
with qualifying geometries).
This is only used for debugging purposes and is not saved to the file or any preferences.
|
|
-supportsDoublePrecision(-dbl)
|
boolean
|

|
|
Specifies whether double precision can be used in OpenCL. If the platform can not
allow double precision this can not be set to "on".
|
|
-valid(-v)
|
|
|
|
Valid in query mode only. Checks if OpenCL is initialized.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command.
|
// Query if OpenCL is initialized or not
openCLInfo -q -valid;
// Result: 1 //
// Set the minimum vertex buffer size
openCLInfo -mvb 2000;
// Query the minimum vertex buffer size
openCLInfo -q -mvb;
// Result: 2000 //
// Query whether double precision is supported or not
openCLInfo -q -dbl;
// Result: 1