Function gegl::cl_init

source ·
pub fn cl_init() -> Result<(), Error>
Expand description

Initialize and enable OpenCL, calling this function again will re-enable OpenCL if it has been disabled.

Returns

True if OpenCL was initialized