pub struct Program {
pub schema: String,
pub fidelity: String,
pub note: String,
pub name: String,
pub source_provenance: String,
pub kernarg_layout: Vec<KernargField>,
pub group_bytes: u32,
pub body: Vec<Op>,
}Fields§
§schema: String§fidelity: String§note: String§name: String§source_provenance: String§kernarg_layout: Vec<KernargField>§group_bytes: u32SoftGPU group/LDS bytes required for this program (software limit).
body: Vec<Op>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Program
impl<'de> Deserialize<'de> for Program
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Program
Auto Trait Implementations§
impl Freeze for Program
impl RefUnwindSafe for Program
impl Send for Program
impl Sync for Program
impl Unpin for Program
impl UnsafeUnpin for Program
impl UnwindSafe for Program
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more