/*! Returns the OpenCL versions supported by this platform. \sa version(), QCLDevice::versionFlags() */ QCLPlatform::VersionFlags QCLPlatform::versionFlags() const { if (!m_flags) { m_flags = qt_cl_version_flags (qt_cl_platform_string(m_id, CL_PLATFORM_VERSION)); } return QCLPlatform::VersionFlags(m_flags); }
/*! Returns the OpenCL versions supported by this device. \sa version(), QCLPlatform::versionFlags() */ QCLPlatform::VersionFlags QCLDevice::versionFlags() const { if (!m_flags) { m_flags = qt_cl_version_flags (qt_cl_paramString(m_id, CL_DEVICE_VERSION)); } return QCLPlatform::VersionFlags(m_flags); }