Closed Naghasan closed 5 years ago
Looks good thanks, I think this fills an important gap in the SYCL data-flow model. My only concern here is in allowing device accessors within an interop_task
as it could make it easier for users to run into undefined behaviour, so I've suggested an improvement to this.
This proposal add the possibility for a user to retrieve cl_mem object in a friendly way for SYCL data-flow model.
The proposal adds interop_task member function to the codeplay::handler to schedule the execution of a task on the host. It provides also a way to retrieve cl_mem object associated to an accessor to allow full interoperability with OpenCL.