AnsweredAssumed Answered

R9 295x2 with 15.7.1 on Win10 - clEnqueueNDRangeKernel() returning -4 on second GPU

Question asked by timeout on Aug 3, 2015
Latest reply on Aug 4, 2015 by pinform



I just upgraded my rig to Windows 10 pro and I installed the latest 15.7.1 drivers.  I use this rig for Gaming and for crypto-coin mining. 


After the upgrade, I'm getting clEnqueueNDRangeKernel()  error -4 (CL_MEM_OBJECT_ALLOCATION_FAILURE) on the second GPU (R9 295x2) when I run cgminer-khc which executes an OpenCL algorithm called kshake320 that calculates the Proof of Work on a crypto-coin called Kryptohash.


What is interesting is that if I remove -cl-opt-disable option from clBuildProgram(), the issue goes away but, the performance of the kshake320 Proof of Work algorithm drops by 50% so, mining without the  -cl-opt-disable  switch isn't a good option for this algorithm.


How can I solve this problem?