pub struct RocmTensorExecutor { /* private fields */ }Expand description
Tensor executor backed by validated ROCm/rocBLAS ABI evidence.
Implementations§
Source§impl RocmTensorExecutor
impl RocmTensorExecutor
Sourcepub fn new(evidence: RocmAbiEvidence) -> Self
pub fn new(evidence: RocmAbiEvidence) -> Self
Builds an executor from validated ROCm ABI evidence.
Sourcepub fn evidence(&self) -> &RocmAbiEvidence
pub fn evidence(&self) -> &RocmAbiEvidence
Returns the ROCm ABI evidence used by this executor.
Trait Implementations§
Source§impl Clone for RocmTensorExecutor
impl Clone for RocmTensorExecutor
Source§fn clone(&self) -> RocmTensorExecutor
fn clone(&self) -> RocmTensorExecutor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl TensorExecutor for RocmTensorExecutor
impl TensorExecutor for RocmTensorExecutor
Source§fn card(&self) -> TensorExecutorCard
fn card(&self) -> TensorExecutorCard
Returns the executor descriptor.
Source§fn execute(
&self,
cx: &mut Cx,
request: TensorRequest,
) -> Result<TensorExecution, TensorExecError>
fn execute( &self, cx: &mut Cx, request: TensorRequest, ) -> Result<TensorExecution, TensorExecError>
Executes one checked tensor request.
Source§fn flush(&self) -> Result<SubmissionEvidence, TensorExecError>
fn flush(&self) -> Result<SubmissionEvidence, TensorExecError>
Flushes accepted submissions and returns synchronization evidence.
Auto Trait Implementations§
impl Freeze for RocmTensorExecutor
impl RefUnwindSafe for RocmTensorExecutor
impl Send for RocmTensorExecutor
impl Sync for RocmTensorExecutor
impl Unpin for RocmTensorExecutor
impl UnsafeUnpin for RocmTensorExecutor
impl UnwindSafe for RocmTensorExecutor
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