Commit c8c6628
authored
[ET-VK] 8/n Split dispatches between multiple command buffers. This diff adds a config to limit the maximum number of command buffers created when splitting execution between multiple command buffers. (pytorch#13204)
This diff adds a config to limit the maximum number of command buffers created when splitting execution between multiple command buffers."
This diff introduces a new configuration option, `execute_max_cmds`, to limit the maximum number of command buffers created when splitting execution between multiple command buffers. This feature allows for more efficient management of command buffers, particularly in scenarios where the number of nodes in the graph is large.
Differential Revision: [D79575908](https://our.internmc.facebook.com/intern/diff/D79575908/)1 parent 6e72e27 commit c8c6628
File tree
3 files changed
+44
-2
lines changed- backends/vulkan/runtime/graph
3 files changed
+44
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
802 | 829 | | |
803 | 830 | | |
804 | 831 | | |
| |||
888 | 915 | | |
889 | 916 | | |
890 | 917 | | |
| 918 | + | |
891 | 919 | | |
892 | 920 | | |
893 | 921 | | |
| |||
900 | 928 | | |
901 | 929 | | |
902 | 930 | | |
903 | | - | |
| 931 | + | |
904 | 932 | | |
905 | 933 | | |
906 | 934 | | |
907 | | - | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
908 | 938 | | |
909 | 939 | | |
910 | 940 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
210 | 218 | | |
211 | 219 | | |
212 | 220 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
| |||
0 commit comments