| 175 | } |
| 176 | |
| 177 | OIDN_API const char* oidnGetPhysicalDeviceString(int physicalDeviceID, const char* name) |
| 178 | { |
| 179 | OIDN_TRY |
| 180 | OIDN_INIT_CONTEXT(ctx, DeviceType::Default); |
| 181 | checkString(name); |
| 182 | return ctx.getPhysicalDevice(physicalDeviceID)->getString(name); |
| 183 | OIDN_CATCH |
| 184 | return nullptr; |
| 185 | } |
| 186 | |
| 187 | OIDN_API const void* oidnGetPhysicalDeviceData(int physicalDeviceID, const char* name, size_t* byteSize) |
| 188 | { |
no test coverage detected