cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

Highlighted
Journeyman III
Journeyman III

Access violation in clBuildProgram

I have a source file that crashes deep inside amdocl.dll with an access violation when calling clBuildProgram. When I disable optimizations, clBuildProgram succeeds. The file also does not crash KernelAnalyzer2, regardless of optimizations being on or off. I have been able to make subtle changes to the code to get it to build with optimizations, and with different changes, it would sometime succeed and sometimes crash.

Platform: Radeon HD 7700 (683F) on Windows 7 64-bit with Catalyst 13.4 and APP version 2.8.1214.3.

The program is 32-bit.

Attached are two versions of the CL C source. One version seems to consistently crash the compiler. The other crashes the compiler approximately one out of five tries, with no change to any code.

Tags (1)
0 Kudos
Reply
4 Replies
Highlighted
Grandmaster
Grandmaster

Re: Access violation in clBuildProgram

Thanks for reporting the issue. I will let you know my findings soon.

0 Kudos
Reply
Highlighted
Grandmaster
Grandmaster

Re: Access violation in clBuildProgram

Your kernels do not crash for me using Catalyst 13.8 beta. Can you please confirm that?

System: HD7870, Cat 13.8beta, Win7-64, SDK 2.8.1

0 Kudos
Reply
Highlighted
Journeyman III
Journeyman III

Re: Access violation in clBuildProgram

I can no longer get the crashes to occur using the 13.8 beta. Thanks.

Any idea on an approximate time frame for a new non-beta release?

0 Kudos
Reply
Highlighted
Grandmaster
Grandmaster

Re: Access violation in clBuildProgram

Sorry no idea about that.

0 Kudos
Reply