:: com :: sun :: star :: sheet :: opencl ::

interface XOpenCLSelection

Methods' Summary
isOpenCLEnabled  
enableOpenCL * Enables or disables use of OpenCL for calculations. When using * this API to enable OpenCL the configuration parameters are set * to their built-in default values, not ones read from the * installation of user-specific configuration.  
enableAutomaticDeviceSelection * Enables automatic OpenCL Device Selection *  
disableAutomaticDeviceSelection * Disables automatic OpenCL Device Selection  
selectOpenCLDevice * Select the OpenCL device with the given platform and device * number. The platform number corresponds to an index into the * sequence returned by getOpenCLPlatforms, and the device number * corresponds to an index into the sequence of devices in that * platform.  
getPlatformID * returns the index of the platform of the currently selected * device. This is an index into the sequence that * getOpenCLPlatforms returns in the current instance of * LibreOffice (and not some a priori defined identifier for an * OpenCL platform).  
getDeviceID * returns the index of the currently selected device. This is an * index into the sequence of devices in the OpenCLPLatform object * the device is part of in the current instance of LibreOffice * (and not some a priori defined identifier for a specific model * of device accessed through a specific platform).  
getOpenCLPlatforms * lists all OpenCL devices and platforms  
enableOpcodeSubsetTest  
disableOpcodeSubsetTest  
isOpcodeSubsetTested  
setFormulaCellNumberLimit  
getFormulaCellNumberLimit  
Methods' Details
isOpenCLEnabled
boolean
isOpenCLEnabled();

enableOpenCL
void
enableOpenCL( [in] boolean  enable );

Description
* Enables or disables use of OpenCL for calculations. When using * this API to enable OpenCL the configuration parameters are set * to their built-in default values, not ones read from the * installation of user-specific configuration.
enableAutomaticDeviceSelection
void
enableAutomaticDeviceSelection( [in] boolean  force );

Description
* Enables automatic OpenCL Device Selection *
Parameter force
forces a new evaluation of the best device
disableAutomaticDeviceSelection
void
disableAutomaticDeviceSelection();

Description
* Disables automatic OpenCL Device Selection
selectOpenCLDevice
void
selectOpenCLDevice( [in] long  platform,
[in] long  device );

Description
* Select the OpenCL device with the given platform and device * number. The platform number corresponds to an index into the * sequence returned by getOpenCLPlatforms, and the device number * corresponds to an index into the sequence of devices in that * platform.
getPlatformID
long
getPlatformID();

Description
* returns the index of the platform of the currently selected * device. This is an index into the sequence that * getOpenCLPlatforms returns in the current instance of * LibreOffice (and not some a priori defined identifier for an * OpenCL platform).
getDeviceID
long
getDeviceID();

Description
* returns the index of the currently selected device. This is an * index into the sequence of devices in the OpenCLPLatform object * the device is part of in the current instance of LibreOffice * (and not some a priori defined identifier for a specific model * of device accessed through a specific platform).
getOpenCLPlatforms
sequence< OpenCLPlatform >
getOpenCLPlatforms();

Description
* lists all OpenCL devices and platforms
enableOpcodeSubsetTest
void
enableOpcodeSubsetTest();

disableOpcodeSubsetTest
void
disableOpcodeSubsetTest();

isOpcodeSubsetTested
boolean
isOpcodeSubsetTested();

setFormulaCellNumberLimit
void
setFormulaCellNumberLimit( [in] long  number );

getFormulaCellNumberLimit
long
getFormulaCellNumberLimit();

Top of Page