| 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 | { |
no test coverage detected