[Mesa-dev] clover: OpenCL image support

Francisco Jerez currojerez at riseup.net
Fri Nov 25 04:47:55 UTC 2016


Edward O'Callaghan <funfunctor at folklore1984.net> writes:

> The following series implements what is needed on clover's
> side for OpenCL image support. This seems to work with some
> basic applications with radeonsi. Although, I have not yet
> included the patch to enable by default until the LLVM bugs
> this can potentially trigger with more complex kernels are
> resolved.
>
> Please kindly review,
>
> Edward O'Callaghan (4):
>  [PATCH 1/4] clover: Implement 'CL_MEM_OBJECT_IMAGE2D_ARRAY'
>  [PATCH 2/4] clover: Implement 'CL_MEM_OBJECT_IMAGE1D'
>  [PATCH 3/4] clover: Implement 'CL_MEM_OBJECT_IMAGE1D_BUFFER'
>  [PATCH 4/4] clover: Implement 'CL_MEM_OBJECT_IMAGE1D_ARRAY'

I don't think this is sufficient to get the CL 1.2+ image formats fully
working, at least you're going to need to add support for array and
buffer images to the memory transfer commands from api/transfer.cpp,
implement several missing image-related queries from CL 1.2, fix the
gallium pipe_resource and transfer glue code to work with the new memory
object types, and fix the LLVM interfacing code and compute kernel
handling to accept the new image types as kernel argument.  Still a
bunch of work to do, but this seems like a good start... :)

> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161124/a677ea9b/attachment-0001.sig>


More information about the mesa-dev mailing list