Rahul, if you get the chance, feel free to send us a sample that can be used to reproduce the condition. Our CAL engineers would appreciate it.
Got it, thank you.
Rahul, It will be great for others if you can post that code here.
Rahul, can you please send us the specs of your machine when you see the error (more details the better):
CPU, cache size, clock rates
GPU, brand, engine and memory clock rates
PCIe express lanes, Gen1 or 2
How often do you see the error?
Please send the info to ATTN: Newton, Udeepta at streamdeveloper@amd.com
There is a bug in the parameters for calCtxIsEventDone() in the copy function. The context and event handles are switched. The call returns an error code that you may check. I think this should solve the issue.