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.
C++ OpenCL 包装器引用中的类是否计算在内?上下文和缓冲区的“复制构造函数”是否会复制到类的引用,只有当所有引用都被清除时才会被清理(比如共享 ptr?)文档有点模糊......
是的,它是 - 查看cl.hpp的第 1090 行,特别是 Wrapper(和 ReferenceHandler)。
希望这可以帮助。