On 06/10/2014 23:00, Pekka Jääskeläinen wrote:
> On 10/06/2014 11:31 PM, Vincent Danjean wrote:
>> But where can I find the triplet to use for Debian target architecture ?
>
> Unfortunately, this is not an easy question and has been discussed
> in the past.
>
> In essence, it boils down to whether Debian has fixed the required
> CPU features (such as vector extensions available) to some level for
> each supported target.
Yes, at least for x86 (32 and 64 bits)
> If not, one has to set the feature set (-triple and -march passed to
> Clang/llc) to the lowest possible, and it results in much worse
> performing kernel compilation results (no SIMD or other special
> instructions used) which is not nice as OpenCL is all about
> performance.
>
> Do you know if there is such a minimal ISA feature set defined
> for CPU architectures in Debian?
I will try to find them. But, another possibility is to require an
extended feature set but bails at runtime with a clear error message
if it appears that the current CPU is not powerful enough. I think that,
at least for x86-32, it would be a better option. I know from previous
Debian discussion that the minimal ISA feature set on this architecture
is pretty low but the use case would probably be x86-64 processors
that run 32bits software...
Regards,
Vincent
------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel