Any usable SIMD implementation?
Marco Leise via Digitalmars-d
digitalmars-d at puremagic.com
Mon Apr 11 06:38:55 PDT 2016
Am Mon, 04 Apr 2016 18:35:26 +0000
schrieb 9il <ilyayaroshenko at gmail.com>:
> @attribute("target", "+sse4")) would not work well for BLAS. BLAS
> needs compile time constants. This is very important because BLAS
> can be 95% portable, so I just need to write a code that would be
> optimized very well by compiler. --Ilya
It's just for the case where you want a generic executable
with a generic and a specialized code path. I didn't mean this
to be exclusively used without compile-time information about
target features.
--
Marco
More information about the Digitalmars-d
mailing list