MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / SupportsExtension

Method SupportsExtension

tensorflow/lite/delegates/gpu/cl/cl_device.cc:322–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320bool CLDevice::SupportsFP16() const { return info_.supports_fp16; }
321
322bool CLDevice::SupportsExtension(const std::string& extension) const {
323 for (const auto& ext : info_.extensions) {
324 if (ext == extension) {
325 return true;
326 }
327 }
328 return false;
329}
330
331bool CLDevice::SupportsTextureArray() const {
332 return info_.SupportsTextureArray();

Callers 3

IsGlSharingSupportedFunction · 0.80
CreateCLGLContextFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected