clEnqueueNDRange blocking on Nvidia hardware? (Also Multi-GPU)

后端 未结 2 1017
半阙折子戏
半阙折子戏 2020-12-21 15:31

On Nvidia GPUs, when I call clEnqueueNDRange, the program waits for it to finish before continuing. More precisely, I\'m calling its equivalent C++ binding,

2条回答
  •  [愿得一人]
    2020-12-21 15:57

    Yes, you're right. AFAIK - the nvidia implementation has a synchronous "clEnqueueNDRange". I have noticed this when using my library (Brahma) as well. I don't know if there is a workaround or a way of preventing this, save using a different implementation (and hence device).

提交回复
热议问题