Represents the compute system. The system class provides an interface to an OpenCL system. device Returns the default compute device for the system. The default device returned is the first GPU device found. If no GPU devices are available then the first CPU device is returned. If no OpenCL devices are found on the system then a null device object is returned. device Returns the default GPU compute device for the system. device Returns the default CPU compute device for the system. context Returns the default compute context for the system. std::vector<platform> Returns a vector of all the OpenCL platforms available on the system. size_t Returns the total number of OpenCL platforms available on the system.