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.
有一个执行视频处理的 OpenCL 程序。它适用于小型视频,但是当输入超过 200 帧时,OpenCL 在 clEnqueueNDRangeKernel 上的第 210 帧后抛出“CL_MEM_OBJECT_ALLOCATION_FAILURE 错误执行 CL_COMMAND_NDRANGE_KERNEL”错误。我认为它背后的原因可能是未释放的缓冲区。但我控制了一切。