Possible bug in OpenCL on GTX 1080

Hi,

I believe I may have encountered a bug in the CUDA OpenCL stack. A trivial 2 line program generates different outputs when ran on 4 different devices. I have included a self-contained script to reproduce this here:

[url]https://pastebin.com/B0LcbGca[/url]

Apologies I’m not sure where to post this. Please advise on somewhere more suitable.

Cheers,
Chris

Following up, more test cases:

https://pastebin.com/SBexknsS
https://pastebin.com/CrG0X7D0
https://pastebin.com/Q7GXhUY8
https://pastebin.com/dkhY5hHr

Cheers,
Chris

Two self-contained C programs which segfault during compilation:

http://paste.ubuntu.com/25037746/
http://paste.ubuntu.com/25037747/

Cheers,
Chris

Chris
Thanks, for bug report for OpenCL