MCPcopy Create free account
hub / github.com/RenderKit/oidn / isDeviceSupported

Method isDeviceSupported

core/context.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 }
13
14 bool Context::isDeviceSupported(DeviceType type) const
15 {
16 return deviceFactories.find(type) != deviceFactories.end();
17 }
18
19 DeviceFactory* Context::getDeviceFactory(DeviceType type) const
20 {

Callers 6

oidnIsCPUDeviceSupportedFunction · 0.80
oidnIsHIPDeviceSupportedFunction · 0.80
OIDNDevice oidnNewDeviceFunction · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected