sycl-gtx icon indicating copy to clipboard operation
sycl-gtx copied to clipboard

Synchronization

Open ProGTX opened this issue 10 years ago • 3 comments

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: 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

ProGTX avatar Oct 11 '15 19:10 ProGTX

"Command group enqueue", or intra-queue synchronization, was done alongside #14.

ProGTX avatar Oct 25 '15 20:10 ProGTX

Host accessors synchronized with synchronizer class (see #1).

ProGTX avatar Oct 26 '15 20:10 ProGTX

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.

ProGTX avatar Oct 30 '15 13:10 ProGTX