Lines Matching full:current_version
1644 Version current_version{ CL_VERSION_MAJOR(name_version.version), in get_device_latest_cl_c_version() local
1647 (current_version > max_supported_cl_c_version) in get_device_latest_cl_c_version()
1648 ? current_version in get_device_latest_cl_c_version()
1670 auto current_version = get_device_latest_cl_c_version(devices[0]); in get_max_OpenCL_C_for_context() local
1672 [¤t_version](cl_device_id device) { in get_max_OpenCL_C_for_context()
1680 && current_version >= Version(3, 0)) in get_max_OpenCL_C_for_context()
1682 && (current_version >= Version(2, 0) in get_max_OpenCL_C_for_context()
1683 && current_version < Version(3, 0)))) in get_max_OpenCL_C_for_context()
1685 current_version = Version(1, 2); in get_max_OpenCL_C_for_context()
1689 current_version = in get_max_OpenCL_C_for_context()
1690 (std::min)(device_version, current_version); in get_max_OpenCL_C_for_context()
1693 return current_version; in get_max_OpenCL_C_for_context()
1728 Version current_version{ CL_VERSION_MAJOR(name_version.version), in device_supports_cl_c_version() local
1730 if (current_version == version) in device_supports_cl_c_version()