4 ms·
I'm trying to use 16 bit floats for matrix multiplication on x86-64. I found solutions for ARM and some NVIDIA GPUs but none for any X86-64 chips. Any pointers
by bhuthesh_r 7y ago
I'm trying to use 16 bit floats for matrix multiplication on x86-64. I found solutions for ARM and some NVIDIA GPUs but none for any X86-64 chips. Any pointers in this direction would be helpful.
- integricho 7y agoHere is a little sample code I threw together, it shows the whole cycle, from conversion to half-floats to the conversion back to floats and performing a simple multiplication of the values: https://godbolt.org/z/FYu_rK https://godbolt.org/z/FYu_rK Hope it helps.
- bhuthesh_r 7y agoThank you.
- helltone 7y agohttps://github.com/google/gemmlowp https://github.com/google/gemmlowp