MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / device_supports_extension

Function device_supports_extension

src/core/CL/CLHelpers.cpp:285–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283}
284
285bool device_supports_extension(const cl::Device &device, const char *extension_name)
286{
287 std::string extensions = device.getInfo<CL_DEVICE_EXTENSIONS>();
288 auto pos = extensions.find(extension_name);
289 return (pos != std::string::npos);
290}
291
292bool device_supports_extension_version(const cl::Device &device,
293 const char *extension_name,

Callers 10

fp16_supportedFunction · 0.85
dot8_supportedFunction · 0.85
dot8_acc_supportedFunction · 0.85
command_buffer_supportedFunction · 0.85
TEST_CASEFunction · 0.85

Calls 1

findMethod · 0.80

Tested by

no test coverage detected