krrishnarraj / clpeak

A tool which profiles OpenCL devices to find their peak capacities
Apache License 2.0
407 stars 114 forks source link

input.cl:34:106: error: call to 'mad' is ambiguous #32

Open ribalda opened 7 years ago

ribalda commented 7 years ago

Libclc seems to have problems with clpeak since 16e1b207a4d4e81a0c48c77c950437dca1364cb6.

More context at libclc bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96897

Regards!

krrishnarraj commented 7 years ago

How do I reproduce this? I don't have an amd card

znmeb commented 7 years ago

I have an AMD GPU and I think I've seen this error. But is it a clpeak issue or a libclc issue??

krrishnarraj commented 7 years ago

Not sure if its related to https://github.com/krrishnarraj/clpeak/issues/29 A fix to #29 might avoid this problem. Let me check on beignet

znmeb commented 7 years ago

Now that I look at it, there's also a Fedora bugzilla for this: https://bugzilla.redhat.com/show_bug.cgi?id=1433632

I thought it looked familiar. ;-)