RenderKit / oidn

Intel® Open Image Denoise library
https://www.openimagedenoise.org/
Apache License 2.0
1.74k stars 160 forks source link

Determine which instruction set is being used #171

Closed hueyline closed 10 months ago

hueyline commented 12 months ago
atafra commented 12 months ago

It's not possible to query the instruction set used or to change it. Why would you need to do these?

hueyline commented 12 months ago

Just would like to explore the denoising performance with different instruction sets (e.g. AVX512 vs AMX), in order to determine the extent of the performance boost provided by more advanced instruction sets.

atafra commented 12 months ago

OIDN currently does not (and cannot) support AMX. OIDN always uses the latest available instruction set. For benchmarking I suggest to use oneDNN directly, which OIDN is using on the CPU.

hueyline commented 12 months ago

I see. I would like to learn from you. As I understand it, the ray tracing filter is based on CNN models. Theoretically, if OIDN supports AMX, the denoising performance should be improved, right?

atafra commented 12 months ago

Yes, if AMX would support FP16, OIDN could use it, and performance would be better.