0

I seem to have read somewhere that all work-items within a work-group execute concurrently. I have also read that a Work-group are handled by streaming a multiprocessor. But what if the work-group size is chosen such that the number of work-items exceed the number of streaming processors in a streaming multiprocessor (nvidia)? Then they can not be executed concurrently?

4

1 回答 1

0

您指的是不同的级别,同时有不同的解释:

  • OpenCL 执行模型,一种描述如何在设备上执行任务的规范。在这个模型中,一个ND-range内核命令中的所有工作项都是并发执行的,一个工作组内的工作项可以使用本地内存进行通信,并且可以同步。

  • 处理任务的硬件。在这种情况下,并发通常被解释为“同时执行一条指令”,但它也可以被解释为“同时在一个核心中运行”(更大的工作项集)。

于 2013-06-14T16:42:39.770 回答