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

Function oidnIsCPUDeviceSupported

api/api.cpp:204–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202 // -----------------------------------------------------------------------------------------------
203
204 OIDN_API bool oidnIsCPUDeviceSupported()
205 {
206 OIDN_TRY
207 OIDN_INIT_CONTEXT(ctx, DeviceType::CPU);
208 return ctx.isDeviceSupported(DeviceType::CPU);
209 OIDN_CATCH
210 return false;
211 }
212
213 OIDN_API bool oidnIsSYCLDeviceSupported(const sycl::device* device)
214 {

Callers 1

isCPUDeviceSupportedFunction · 0.85

Calls 1

isDeviceSupportedMethod · 0.80

Tested by

no test coverage detected