How do I know if the kernels are executing concurrently?

前端 未结 3 394
栀梦
栀梦 2020-12-15 14:23

I have a GPU with CC 3.0, so it should support 16 concurrent kernels. I am starting 10 kernels by looping through clEnqueueNDRangeKernel for 10 times. How do I get to know t

3条回答
  •  忘掉有多难
    2020-12-15 15:23

    Yes, as you suggest, try to use the events, and analyze all the QUEUED, SUBMIT, START, END values. These should be absolute values in "device time", and you may be able to see if processing (START to END) overlaps for the different kernels.

提交回复
热议问题