AnsweredAssumed Answered

clBuildProgram crashes on 13.4 driver on a binary built with 13.6 beta driver

Question asked by timchist on Jun 24, 2013
Latest reply on Jun 17, 2014 by pinform

I have two computers with AMD GPUs: one of them has 13.4 driver installed (ATI Radeon HD 5850), while the other one has 13.6 beta (AMD Radeon HD 7970).

I compile OpenCL code into binaries (as described in the KB115 article of the AMD knowledge base) on the machine with 13.6 and then use them on the other machine with 13.4.

Both machines are running Windows 7 x64.

In some cases for some kernels the application which uses precompiled binaries crashes in amdocl.dll / amdocl64.dll when clBuildProgram is called:

Problem signature:

  Problem Event Name:    APPCRASH

  Application Name:    UseOCLOffline.exe

  Application Version:

  Application Timestamp:    51c902c5

  Fault Module Name:    amdocl.dll

  Fault Module Version:    10.0.1084.4

  Fault Module Timestamp:    50d225d5

  Exception Code:    c0000005

  Exception Offset:    004370e6

  OS Version:    6.1.7601.

  Locale ID:    1049

  Additional Information 1:    0a9e

  Additional Information 2:    0a9e372d3b4ad19135b953a78882e789

  Additional Information 3:    0a9e

  Additional Information 4:    0a9e372d3b4ad19135b953a78882e789


Interestingly, the result seems to be quite unstable, that is, sometimes the binary produced from a kernel works fine, but some launches result in a failure (of 10 launches in a row 3 resulted in a failure).


I'm attaching the source file of the kernels I'm compiling as well as a binary produced from this kernel (the binary is for Cypress, compiled and used in 32-bit mode).