AnsweredAssumed Answered

DirectGMA: clEnqueueWaitSignalAMD doesn't block

Question asked by csa on Nov 20, 2015
Latest reply on Nov 23, 2015 by pinform

I get bus addresses using clEnqueueMakeBuffersResidentAMD and even can transfer data to GPU memory from FPGA. However, clEnqueueWaitSignalAMD does nothing. It always returning after about 100us CL_COMPLETE code. Even in the case if I don't transfers anything at all.  Latest drivers and SDK. The test code I am using is in the attachment. If i run it I got...

 

bus adress : surface : 0x383fe9704000, marker : 0x383fe9714000

Waiting Signal 0

  Event return: 0 (CL_COMPLETE: 0)

  Event type: 0x4080 (CL_COMMAND_WAIT_SIGNAL_AMD: 0x4080)

Waiting Signal 1

  Event return: 0 (CL_COMPLETE: 0)

  Event type: 0x4080 (CL_COMMAND_WAIT_SIGNAL_AMD: 0x4080)

Waiting Signal 2

  Event return: 0 (CL_COMPLETE: 0)

  Event type: 0x4080 (CL_COMMAND_WAIT_SIGNAL_AMD: 0x4080)

....

 

Though no data is sent to GPU.

 

Thanks,
Suren

Attachments

Outcomes