Settings

From AQUAgpusph
Jump to: navigation, search

In AQUAgpusph a number of general setting can be modified in the Settings section:

<Settings>
    <!-- ... -->
</Settings>

Inside the following settings can be tweaked:

Verbosity

The program verbosity can be controlled. The verbose levels are:

  • 0 = The program is not returning info by the output screen at all.
  • 1 = The program is returning info by the output screen just when a new frame should be printed.
  • 2 = The program is returning the info right after it is generated.

The verbosity behavior is under heavy redesigning process, so this documentation may not be valid.

To change the verbosity options just add a Verbose tag inside the Settings section:

    <Verbose level="2" />

Verbose level 1 is selected by default.

Device

Currently AQUAgpusph is running just in one computational device, however, it is really common to find systems with several valid OpenCL devices ready to work. In order to select the device to be used a Device tag can be added:

    <Device platform="0" device="0" type="ALL" />

where platform and device are the indexes of the platform, and the device inside that, to be used. The attribute type may take the following values:

  • ALL = All the devices will be shown.
  • CPU = Just CPU devices will be shown.
  • GPU = Just GPU devices will be shown.
  • ACCELERATOR = Just IBM accelerators will be shown.
  • DEFAULT = The system will automatically select the more convenient type of device to be used.

If a type different of ALL is selected, then the device index will be refereed to the list of devices that has not been filtered out.