pub struct Candidate {
pub id: String,
pub config: String,
pub ptx: String,
pub unsafe_candidate: bool,
pub grid: [u32; 3],
pub block: [u32; 3],
pub args: Vec<ArgSpec>,
pub warmup: u32,
pub repeats: u32,
}Fields§
§id: String§config: String§ptx: StringPTX file path, relative to the plan file.
unsafe_candidate: boolTrue for a gate-refused candidate measured under –allow-unsafe: the runner guards it with a watchdog, because the refusal means it may genuinely hang.
grid: [u32; 3]§block: [u32; 3]§args: Vec<ArgSpec>§warmup: u32§repeats: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Candidate
impl<'de> Deserialize<'de> for Candidate
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
Auto Trait Implementations§
impl Freeze for Candidate
impl RefUnwindSafe for Candidate
impl Send for Candidate
impl Sync for Candidate
impl Unpin for Candidate
impl UnsafeUnpin for Candidate
impl UnwindSafe for Candidate
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