sycl-gtx
sycl-gtx copied to clipboard
Synchronization
Already mentioned in #6
Parts to implement per §2.5.5:
- :warning: Buffer destruction
- :white_check_mark: Wait on events in destructor
- :red_circle: #9, copying, smart pointers
- :white_check_mark: Accessor construction
- :white_check_mark: Device accessors
- Through #14
- :white_check_mark: Host accessors
- :white_check_mark: Device accessors
- :white_check_mark: Command group enqueue
- #14
- :warning: Interaction with OpenCL synchronization operations
- I'm not sure what this is supposed to entail with regard to buffer and image. Maybe mutex?
- :warning: handler_event from queue.
- :white_check_mark: Queue destruction
- :warning: Context destruction
- Not high priority, problems with copies and moves.
- :warning: SYCL event objects
- :red_circle: #9
"Command group enqueue", or intra-queue synchronization, was done alongside #14.
Host accessors synchronized with synchronizer class (see #1).
Forgot to take into account that host accessors block the queue for their whole lifetime, and just synchronization on construction isn't enough. Fixed in d25b7f55dd1161bca49fef66fcb64bca0b6a952e.