Lines Matching defs:version
147 for (const struct clc_version_lang_std &version : cl_version_lang_stds) {
148 if (version.version_number == max ||
149 version.version_number == requested) {
150 return version;
153 throw build_error("Unknown/Unsupported language version");
159 for (const auto &version : cl_versions) {
160 if (are_equal(version, max, true) ||
161 are_equal(version, requested, true)) {
162 return version;
165 throw build_error("Unknown/Unsupported language version");
174 // If it's a device version, clamp to max 1.x version, a.k.a. 1.2
175 const cl_version version =
179 get_cl_lang_standard(version);
320 // Add definition for the OpenCL version
326 if (CL_VERSION_MAJOR(dev.version) >= 3) {
382 const auto max_supported = clover::spirv::to_spirv_version_encoding(supported_versions.back().version);