| 4 | /// functions that take a configurable scope. |
| 5 | #[derive(Debug, PartialEq, Eq)] |
| 6 | pub enum Scope { |
| 7 | /// Crosses multiple devices. |
| 8 | CrossDevice = 0, |
| 9 | |
| 10 | /// The current device. |
| 11 | Device = 1, |
| 12 | |
| 13 | /// The current workgroup. |
| 14 | Workgroup = 2, |
| 15 | |
| 16 | /// The current subgroup. |
| 17 | Subgroup = 3, |
| 18 | |
| 19 | /// The current invocation. |
| 20 | Invocation = 4, |
| 21 | |
| 22 | /// The current queue family. |
| 23 | QueueFamily = 5, |
| 24 | } |
| 25 | |
| 26 | bitflags::bitflags! { |
| 27 | /// Memory semantics to determine how some operations should function - used when calling such |