The clBuildProgram fails to compile some spir binaries using the following option: " -x spir -spir-std=1.2"
Intel OpenCL platform runs with this binary flawlessly. Old amd drivers (prior to v17.7 or so) worked fine for me too. But neither v17.7 nor v17.11.1 work.
Here's the error message and some additional info (the problem binary is attached as well):
Unhandled exception at 0x13A2ECAA (amdocl12cl.dll) in test.exe: 0xC0000005: Access violation reading location 0x00000004.
Windows 10 64-bit
Radeon Software v17.11.1
amdocl12cl.dll v0.8.0.0.326, test.exe is a x86 application
Appreciate if someone can handle this. Thanks.