Searched refs:opencl_c_version (Results 1 – 2 of 2) sorted by relevance
135 const auto opencl_c_version = in GpuInfoFromDeviceID() local138 absl::StrCat(device_name, " ", vendor_name, " ", opencl_c_version); in GpuInfoFromDeviceID()140 info.opencl_info.cl_version = ParseCLVersion(opencl_c_version); in GpuInfoFromDeviceID()
1600 std::string opencl_c_version(opencl_c_version_size_in_bytes, '\0'); in get_device_cl_c_version() local1603 opencl_c_version.size(), &opencl_c_version[0], nullptr); in get_device_cl_c_version()1610 auto major = opencl_c_version[opencl_c_version.find('.') - 1]; in get_device_cl_c_version()1611 auto minor = opencl_c_version[opencl_c_version.find('.') + 1]; in get_device_cl_c_version()