Commit bfcd551
[SYCL][Graph] Makes command graph functions thread-safe (#265)
* [SYCL][Graph] Makes command graph functions thread-safe
Addresses comments made on the first PR commit.
Mutexes are now added to Graph implementation entry points
instead of end points as was the case in the previous commit.
Adds "build_pthread_inc" lit test macro to facilitate the
compilation of the threading tests.
Removes std::barrier (std-20) dependency in threading tests.
Addresses Issue: #85
* [SYCL][Graph] Makes command graph functions thread-safe
Moves threading tests that do not require a device to run to unitests
* Update sycl/source/detail/graph_impl.cpp
Co-authored-by: Ben Tracy <[email protected]>
* [SYCL][Graph] Makes command graph functions thread-safe
Adds some comments.
* Update sycl/source/handler.cpp
Co-authored-by: Pablo Reble <[email protected]>
* Update sycl/source/detail/graph_impl.hpp
Co-authored-by: Ewan Crawford <[email protected]>
* [SYCL][Graph] Makes command graph functions thread-safe
Adds dedidacted sub-class to unitests for multi-threading unitests
* [SYCL][Graph] Makes command graph functions thread-safe
Adds comments
* [SYCL][Graph] thread-safe: bug fix after rebase
---------
Co-authored-by: Ben Tracy <[email protected]>
Co-authored-by: Pablo Reble <[email protected]>
Co-authored-by: Ewan Crawford <[email protected]>1 parent 8922f41 commit bfcd551
File tree
13 files changed
+668
-24
lines changed- sycl
- source
- detail
- test-e2e
- Graph
- Explicit
- Inputs
- RecordReplay
- unittests/Extensions
13 files changed
+668
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
224 | 223 | | |
225 | 224 | | |
226 | 225 | | |
| |||
474 | 473 | | |
475 | 474 | | |
476 | 475 | | |
| 476 | + | |
| 477 | + | |
477 | 478 | | |
478 | 479 | | |
479 | 480 | | |
| |||
499 | 500 | | |
500 | 501 | | |
501 | 502 | | |
| 503 | + | |
| 504 | + | |
502 | 505 | | |
503 | 506 | | |
504 | 507 | | |
| |||
612 | 615 | | |
613 | 616 | | |
614 | 617 | | |
| 618 | + | |
615 | 619 | | |
616 | 620 | | |
617 | 621 | | |
| |||
624 | 628 | | |
625 | 629 | | |
626 | 630 | | |
| 631 | + | |
627 | 632 | | |
628 | 633 | | |
629 | 634 | | |
| |||
635 | 640 | | |
636 | 641 | | |
637 | 642 | | |
| 643 | + | |
638 | 644 | | |
639 | 645 | | |
640 | 646 | | |
| |||
666 | 672 | | |
667 | 673 | | |
668 | 674 | | |
| 675 | + | |
669 | 676 | | |
670 | 677 | | |
671 | 678 | | |
| |||
687 | 694 | | |
688 | 695 | | |
689 | 696 | | |
690 | | - | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
691 | 701 | | |
692 | 702 | | |
693 | 703 | | |
694 | 704 | | |
695 | 705 | | |
| 706 | + | |
696 | 707 | | |
697 | 708 | | |
698 | 709 | | |
| |||
719 | 730 | | |
720 | 731 | | |
721 | 732 | | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
722 | 736 | | |
723 | 737 | | |
724 | 738 | | |
| |||
0 commit comments