Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
oidnIsCPUDeviceSupported
Function · 0.80
oidnIsSYCLDeviceSupported
Function · 0.80
oidnIsCUDADeviceSupported
Function · 0.80
oidnIsHIPDeviceSupported
Function · 0.80
oidnIsMetalDeviceSupported
Function · 0.80
OIDNDevice oidnNewDevice
Function · 0.80
Calls
2
find
Method · 0.80
end
Method · 0.45
Tested by
no test coverage detected