This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

在malit760 上调用openCL的clEnqueueMapBuffer,出现CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST的错误

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是NULL,根本没有值。该问题主要出现在mali-t760 上,而adreno 以及桌面GPU都没有出现类似的问题。不知是不是驱动bug?

Thx,

Phenix.

Parents
  • Hi All,

        在我把opencv ocl facedetect example 放在RK3288 Mali 上運行時都出現, 我發現用640x480圖連續11次做ocl facedetect沒問題, 但是用1698 × 1131圖 連續11次ocl facedetect時, 通常第4或5次時就會出現 CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST error  (我在trace code 都是在clEnqueueMapBuffer CL_MAP_READ 時出問題, 返回值為!CL_SUCCESS)



    我的clEnqueueMapBuffer 用法如下:

    cl_int *map_buffer_candidate = (cl_int*)clEnqueueMapBuffer(qu , candidatebuffer , CL_TRUE, CL_MAP_READ, 0

              , 4 * sizeof(int)*outputsz , 0, NULL, NULL, &st);

     

    我的mali driver version為 1.4 Midgard-"r4p1-02dev0"

    我想知道這問題會不會是mali driver 問題 ?

    Thanks

    Tse Yi Ping

Reply
  • Hi All,

        在我把opencv ocl facedetect example 放在RK3288 Mali 上運行時都出現, 我發現用640x480圖連續11次做ocl facedetect沒問題, 但是用1698 × 1131圖 連續11次ocl facedetect時, 通常第4或5次時就會出現 CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST error  (我在trace code 都是在clEnqueueMapBuffer CL_MAP_READ 時出問題, 返回值為!CL_SUCCESS)



    我的clEnqueueMapBuffer 用法如下:

    cl_int *map_buffer_candidate = (cl_int*)clEnqueueMapBuffer(qu , candidatebuffer , CL_TRUE, CL_MAP_READ, 0

              , 4 * sizeof(int)*outputsz , 0, NULL, NULL, &st);

     

    我的mali driver version為 1.4 Midgard-"r4p1-02dev0"

    我想知道這問題會不會是mali driver 問題 ?

    Thanks

    Tse Yi Ping

Children