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.
我想了解配置为在设备内核中启动以供运行时的块数。有什么功能或方法可以做到吗?
我无法用一行找到确切的数字,但gridDim.x gridDim.y ...给出了我想要的,如果你知道你正在使用什么维度的内核,你可能会通过这些值得到数字。
gridDim.x gridDim.y ...