Lul. So just found out via bird side that on windows anyway, Intel #arc GPUs do have #FP64 emulation, but it’s hidden behind APPLICATION NAMING

Seriously. If you rename an app to blender.exe you get fp64 @karolherbst

@FelixCLC @karolherbst

Intel developers enable FP64 SW emulation only in applications where FP64 performance is not critical.
Currently only Blender is enabled.
The same settings apply to Gen11 and Gen12LP.

https://github.com/intel/compute-runtime/blob/6cbb3cfb0563406574a48c50dd202fefb7e6e4cd/shared/source/ail/ail_configuration_extra.cpp#L16-L23

compute-runtime/ail_configuration_extra.cpp at 6cbb3cfb0563406574a48c50dd202fefb7e6e4cd · intel/compute-runtime

Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ Driver - compute-runtime/ail_configuration_extra.cpp at 6cbb3cfb0563406574a48c50dd202fefb7e6e4cd · intel/compute-runtime

GitHub
@sleeping_coelacanth @karolherbst thanks for this. Without digging all the way through, is it true FP64 with proper compliance?

@FelixCLC @karolherbst

If the IGC (Intel Graphics Compiler) Backend documentation is correct, probably yes.

> The F and DF data type follow the single precision and double precision floating point formats specified in the IEEE standard 754-1985.

https://github.com/intel/intel-graphics-compiler/blob/master/documentation/visa/2_datatypes.md#fundamental-data-types
https://github.com/intel/intel-graphics-compiler/blob/master/IGC/Compiler/CISACodeGen/Emu64OpsPass.cpp

intel-graphics-compiler/2_datatypes.md at master · intel/intel-graphics-compiler

Contribute to intel/intel-graphics-compiler development by creating an account on GitHub.

GitHub
@sleeping_coelacanth @karolherbst Karol, this is all under MIT, so might be useful for rust ICL?

@FelixCLC @karolherbst

Intel announced in 2020 that it was developing a prototype with IGC as Mesa3D backend, but it is unclear if this is still ongoing.

Intel Is Using IGC In Their Windows Drivers, Internal Prototype For Mesa - Phoronix
https://www.phoronix.com/news/Intel-IGC-Windows-Mesa-Info

Intel Is Using IGC In Their Windows Drivers, Internal Prototype For Mesa

@FelixCLC @sleeping_coelacanth we do have a soft fp64 implementation, it just doesn't handle denorms. But yeah.. that source code might help in figuring out what needs to be changed in order to do so.
@karolherbst @sleeping_coelacanth Yeah, that's what I mean.
Is it worth borrowing the underlying algs to get to where we want?