hi,All,
我在编写openCL时调用clEnqueueMapBuffer,在其中blocking_map 是CL_TRUE,event_wait_list以及num_events_in_wait_list 都是NULL。却出现了CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST的错误,我查了一下引起该错误的原因是:
CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST if the map operation is blocking and the execution status of any of the events in event_wait_list is a negative integer value.
event_wait_list
但我的event_wait_list是NULL,根本没有值。该问题主要出现在mali-t760 上,而adreno 以及桌面GPU都没有出现类似的问题。不知是不是驱动bug?
Thx,
Phenix.
Hi Phenix,
你有没有一个简单的kernel原型,比如参数是什么,做了哪些操作,可以让我这边也可以重现你的问题,做进一步的分析。谢谢!
BR,
Sheri
Hi Sheri
我想請問下, arm mali kernel driver message 顯示“Falied to map memory on GPU" 和 ”JS: Job Hard-Stopped (took more than 2 ticks at 50 ms/tick)" 是什麼意思 ?
Thanks
Tse Yi Ping
Hi tseyiping,
分配内存的时候出错了,虚拟地址空间耗尽,可能是在执行kernel的时候发生的。你可以把详细情况再描述一下吗?还是之前说的那个ocl在rk3288上面的问题吗?
你可以重新开一个帖子把你的问题罗列一下吗?phenix的问题已经解决了,这样也方便后续交流,其他人找起答案来也会比较容易。谢谢!
BR,