3.2. Resultshalf-float (FP16) を使えば、使用するメモリがCPUのキャッシュに載らない場合では 1.6倍くらい高速化できるらしい。
Using half-floats provides a performance benefit over 32-bit floats when 32-bit float data does not fit into the L1 cache. Specifically, half-floats provide an average speedup of 1.05x when 32-bit data would fit in the L2 cache, an average speedup of 1.3x when 32-bit data would fit in the L3 cache, and an average speedup of 1.6x when the 32-bit data would fit into memory. Additionally, while half-floats may not provide a direct performance benefit when 32-bit data would fit into the L1 cache, you may still experience an auxiliary benefit when using half-floats in your program because half-floats will use half as much space, which allows for significantly more of your programs data to reside in L1.
Showing posts with label FP16. Show all posts
Showing posts with label FP16. Show all posts
2016-10-29
Performance Benefits of Half Precision Floats | Intel® Software
https://software.intel.com/en-us/articles/performance-benefits-of-half-precision-floats/
Intel Intrinsics Guide
https://software.intel.com/sites/landingpage/IntrinsicsGuide/
The Intel Intrinsics Guide is an interactive reference tool for Intel intrinsic instructions, which are C style functions that provide access to many Intel instructions - including Intel® SSE, AVX, AVX-512, and more - without the need to write assembly code.
2015-07-14
IEEE 754r Half Precision floating point converter - File Exchange - MATLAB Central
http://www.mathworks.com/matlabcentral/fileexchange/23173-ieee-754r-half-precision-floating-point-converter
Converts MATLAB or C variables to/from IEEE 754r Half Precision floating point bit pattern.半精度浮動小数点数(IEEE 754)を変換する C言語ソースコード。ライセンスは BSD License。