Go to: Synopsis. Return value. Keywords. Flags. MEL examples.

Synopsis

openCLInfo [-minVertexBuffer] [-valid]

openCLInfo is NOT undoable, queryable, and NOT editable.

Query OpenCL information.

Return value

booleanThe state of whether OpenCL is initialized or not (with the 'valid' flag)

In query mode, return type is based on queried flag.

Keywords

OpenCL, debug

Flags

minVertexBuffer, valid
Long name (short name) Argument types Properties
-minVertexBuffer(-mvb) query
Valid in query mode only. Returns the minimum vertex buffer size.
-valid(-v) query
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.

MEL examples

// Query if OpenCL is initialized or not
openCLInfo -q -valid;
// Result: 1 //

// Query the minimum vertex buffer size
openCLInfo -q -mvb;
// Result: 2000 //