[Pkg-opencl-devel] clinfo

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Mon Nov 10 13:45:19 UTC 2014


Hello Andreas

On Mon, Nov 10, 2014 at 1:36 AM, Andreas Beckmann <anbe at debian.org> wrote:
> On 2014-11-07 20:30, Giuseppe Bilotta wrote:
>> For most practical matters, it should be possible to use my version as a
>> drop-in replacement for Simon's implementation, although the output is
>> somewhat different both from that and from the one shipped with the AMD
>> SDK (and packaged in Debian as amd-clinfo).
>
> I don't think output compatibility should be the primary goal. But we
> will learn soon enough that it will break script X in application Y :-)

Well, I don't think there are current scripts using clinfo, but we'll
soon find out ;-)

In fact, if anybody plans on writing any, I would appreciate any
suggestions on how to make the (currently experimental) raw output
mode better for them.

> OK, I imported the current one into git and then tried to switch to
> your implementation.
>
> * in the Makefile, please append to CFLAGS, don't overwrite them

Done and pushed.

> * it fails to compile with -Werror=format-security

I'll look into this.

> * it segfaults always

Yeah, horribly idiotic bug for which I forgot to push the fix. Should
work fine now. (Figures I'd make such a stupid error right before
going public on it ;-))

Best regards,

-- 
Giuseppe "Oblomov" Bilotta



More information about the Pkg-opencl-devel mailing list