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.
假设我调度线程来运行计算内核,并传递给它们一个MTLBuffer. 然后,在 Metal 端,我生成device指向该缓冲区中数据的指针,并将它们存储在另一个缓冲区中。
MTLBuffer
device
如果我调度另一组线程,运行不同的内核,是否保证所述指针仍然有效?
一个来源将不胜感激。