LibreOffice
LibreOffice 4.3 SDK API Reference
|
import"XOpenCLSelection.idl";
Public Member Functions | |
boolean | isOpenCLEnabled () |
Returns true if calculation with OpenCL is enabled. More... | |
void | enableOpenCL ([in] boolean enable) |
Enables or disables OpenCL. More... | |
void | enableAutomaticDeviceSelection ([in] boolean force) |
Enables automatic OpenCL Device Selection. More... | |
void | disableAutomaticDeviceSelection () |
Disbales automatic OpenCL Device Selection. More... | |
void | selectOpenCLDevice ([in] long platform, [in] long device) |
Set the OpenCL device with the platform ID and device ID Uses the ID of the platform and the device. More... | |
long | getPlatformID () |
returns the platform id of the currently selected device More... | |
long | getDeviceID () |
returns the device id of the currently selected device More... | |
sequence< OpenCLPlatform > | getOpenCLPlatforms () |
lists all OpenCL devices and platforms More... | |
![]() | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
void disableAutomaticDeviceSelection | ( | ) |
Disbales automatic OpenCL Device Selection.
void enableAutomaticDeviceSelection | ( | [in] boolean | force | ) |
Enables automatic OpenCL Device Selection.
force | forces a new evaluation of the best device |
void enableOpenCL | ( | [in] boolean | enable | ) |
Enables or disables OpenCL.
long getDeviceID | ( | ) |
returns the device id of the currently selected device
sequence< OpenCLPlatform > getOpenCLPlatforms | ( | ) |
lists all OpenCL devices and platforms
long getPlatformID | ( | ) |
returns the platform id of the currently selected device
boolean isOpenCLEnabled | ( | ) |
Returns true if calculation with OpenCL is enabled.
void selectOpenCLDevice | ( | [in] long | platform, |
[in] long | device | ||
) |
Set the OpenCL device with the platform ID and device ID Uses the ID of the platform and the device.