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

opencl and opengles Interop problem

Hi,Guys,

I want to know how mali gpu schedule when compute kernel(openCL) and opengles rendering called concurrently and the performance?

best wishes .

phenix

Parents
  • I want to know how mali gpu schedule when compute kernel(openCL) and opengles rendering called concurrently

    Within a single process work is generally scheduled in a first-come first-served approach, unless resource dependencies mean that work cannot start, in which case newer work which can run will be scheduled. There is no pre-emption within a single process (based on the general assumption that the application developer knows more about how to order the command stream than we do).


    Certain workloads can run in a parallel  (compute and fragment shading), others can't (compute and vertex shading).

    and the performance?

    There is no overhead in terms of switching from graphics to compute or visa-versa, but performance really depends on what you are doing, so that's an impossible question to answer .

    HTH,
    Pete

Reply
  • I want to know how mali gpu schedule when compute kernel(openCL) and opengles rendering called concurrently

    Within a single process work is generally scheduled in a first-come first-served approach, unless resource dependencies mean that work cannot start, in which case newer work which can run will be scheduled. There is no pre-emption within a single process (based on the general assumption that the application developer knows more about how to order the command stream than we do).


    Certain workloads can run in a parallel  (compute and fragment shading), others can't (compute and vertex shading).

    and the performance?

    There is no overhead in terms of switching from graphics to compute or visa-versa, but performance really depends on what you are doing, so that's an impossible question to answer .

    HTH,
    Pete

Children