AQUAgpusph 4.1.2
|
General program settings. More...
#include <ProblemSetup.h>
Public Member Functions | |
device (const unsigned int platform_index, const unsigned int device_index, const cl_device_type t=CL_DEVICE_TYPE_ALL) | |
Constructor. | |
~device () | |
Destructor. | |
Data Fields | |
unsigned int | platform_id |
Index of the OpenCL platform to use. | |
unsigned int | device_id |
Index of the OpenCL device to use in the platform platform_id. | |
cl_device_type | device_type |
Type of devices that will be considered in the platform platform_id. | |
General program settings.
These setting are set between the following XML tags:
|
inline |
Constructor.
platform_index | Index of the OpenCL platform to use |
device_index | Index of the OpenCL device to use from the platform |
t | Type of OpenCL device |
|
inline |
Destructor.
unsigned int Aqua::InputOutput::ProblemSetup::sphSettings::device::device_id |
Index of the OpenCL device to use in the platform platform_id.
AQUAgpusph is providing the available OpenCL platforms, and the devices into them.
This field can be set with the tag Device
, for instance: <Device platform="0" device="0" type="GPU" />
cl_device_type Aqua::InputOutput::ProblemSetup::sphSettings::device::device_type |
Type of devices that will be considered in the platform platform_id.
This field can be set with the tag Device
, for instance: <Device platform="0" device="0" type="GPU" />
unsigned int Aqua::InputOutput::ProblemSetup::sphSettings::device::platform_id |
Index of the OpenCL platform to use.
AQUAgpusph is providing the available OpenCL platforms, and the devices into them.
This field can be set with the tag Device
, for instance: <Device platform="0" device="0" type="GPU" />