Searched refs:OpenClVersion (Results 1 – 5 of 5) sorted by relevance
94 OpenClVersion ParseCLVersion(const std::string& version) { in ParseCLVersion()97 return OpenClVersion::kCl1_0; in ParseCLVersion()104 return OpenClVersion::kCl1_2; in ParseCLVersion()106 return OpenClVersion::kCl1_1; in ParseCLVersion()108 return OpenClVersion::kCl1_0; in ParseCLVersion()112 return OpenClVersion::kCl2_2; in ParseCLVersion()114 return OpenClVersion::kCl2_1; in ParseCLVersion()116 return OpenClVersion::kCl2_0; in ParseCLVersion()119 return OpenClVersion::kCl3_0; in ParseCLVersion()121 return OpenClVersion::kCl1_0; in ParseCLVersion()[all …]
364 std::string OpenClVersionToString(OpenClVersion version) { in OpenClVersionToString()366 case OpenClVersion::kCl1_0: in OpenClVersionToString()368 case OpenClVersion::kCl1_1: in OpenClVersionToString()370 case OpenClVersion::kCl1_2: in OpenClVersionToString()372 case OpenClVersion::kCl2_0: in OpenClVersionToString()374 case OpenClVersion::kCl2_1: in OpenClVersionToString()376 case OpenClVersion::kCl2_2: in OpenClVersionToString()378 case OpenClVersion::kCl3_0: in OpenClVersionToString()421 return opencl_info.cl_version >= OpenClVersion::kCl1_2; in SupportsTextureArray()431 return opencl_info.cl_version >= OpenClVersion::kCl1_2; in SupportsImageBuffer()[all …]
247 enum class OpenClVersion { enum257 std::string OpenClVersionToString(OpenClVersion version);260 OpenClVersion cl_version;
41 if (gpu_info.opencl_info.cl_version < OpenClVersion::kCl1_2 && in CanCreateTensorWithShape()
467 if (gpu_info.opencl_info.cl_version == OpenClVersion::kCl2_0) { in GenerateConv()