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.
如何将 uint4 类型转换为 unsigned int ?我正在使用 readimageui() 读取内核中的图像。这将返回 uint4 类型。
在主机代码中,当将结果读回目标缓冲区时,我尝试使用类型为 cl_uint4 的缓冲区,但没有成功。