Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在运行时获取工作组正在运行的计算单元 ID?我知道 CUDA 有一些汇编代码可以做到这一点。
不,没有办法获取计算单元的 ID。您的代码应改为使用工作组 ID。你想达到什么目的?
CUDA 支持这一点让我有点惊讶,请告诉我哪个汇编代码指令可以做到这一点。