commit | 0df2f1cbd62ab2a7d507bc68d8d43509ca268a0e | [log] [tgz] |
---|---|---|
author | Francisco Massa <fvsmassa@gmail.com> | Tue Sep 05 20:53:58 2017 +0100 |
committer | Soumith Chintala <soumith@gmail.com> | Sun Sep 10 13:50:50 2017 -0400 |
tree | 9d7d20860821efedeebc1a328fdc05825d855e04 | |
parent | 8176a558277aeec831f2f1a846cb4856a58fb941 [diff] |
Optimize pow for different exponents and add tests
Environment variables control the disabling of certain explicit SIMD optimizations.
x64 options: TH_NO_AVX2=1 # disable AVX2 codepaths TH_NO_AVX=1 # disable AVX codepaths TH_NO_SSE=1 # disable SSE codepaths ppc64le options: TH_NO_VSX=1 # disable VSX codepaths