pub struct JitDiagnostic {
pub severity: JitSeverity,
pub kernel: Option<String>,
pub line: Option<u32>,
pub message: String,
}Expand description
A single structured diagnostic emitted by the JIT compiler.
Parsed from the raw ptxas log lines that look like:
ptxas error : 'kernel', line 10; error : Unknown instruction 'xyz'
ptxas warning : 'kernel', line 15; warning : double-precision is slow
ptxas info : 'kernel' used 16 registers, 0 bytes smemFields§
§severity: JitSeveritySeverity level.
kernel: Option<String>Kernel function name, if the message is function-scoped.
line: Option<u32>Source line number, if present.
message: StringHuman-readable message text.
Trait Implementations§
Source§impl Clone for JitDiagnostic
impl Clone for JitDiagnostic
Source§fn clone(&self) -> JitDiagnostic
fn clone(&self) -> JitDiagnostic
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for JitDiagnostic
impl RefUnwindSafe for JitDiagnostic
impl Send for JitDiagnostic
impl Sync for JitDiagnostic
impl Unpin for JitDiagnostic
impl UnsafeUnpin for JitDiagnostic
impl UnwindSafe for JitDiagnostic
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