MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / Scope

Enum Scope

crates/spirv-std/src/memory.rs:6–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4/// functions that take a configurable scope.
5#[derive(Debug, PartialEq, Eq)]
6pub 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
26bitflags::bitflags! {
27 /// Memory semantics to determine how some operations should function - used when calling such

Callers 1

parse_one_operandMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected