pub enum GraphOpLegacy {
Sgemm(Box<SgemmOp>),
Memcpy(Box<MemcpyOp>),
RngFillUniform(Box<RngFillUniformOp>),
FftR2C(Box<FftR2COp>),
}👎Deprecated since 0.1.0: construct individual
impl GraphOp types (e.g. SgemmOp, MemcpyOp) and push them as Box<dyn GraphOp> instead of using the closed enumExpand description
Back-compat wrapper preserving the closed-enum API of pre-0.5
graph ops. New code should construct the per-variant op types
(SgemmOp, MemcpyOp, RngFillUniformOp, FftR2COp) directly
and box them as Box<dyn GraphOp>.
Variants§
Sgemm(Box<SgemmOp>)
👎Deprecated since 0.1.0: construct individual
impl GraphOp types (e.g. SgemmOp, MemcpyOp) and push them as Box<dyn GraphOp> instead of using the closed enumMemcpy(Box<MemcpyOp>)
👎Deprecated since 0.1.0: construct individual
impl GraphOp types (e.g. SgemmOp, MemcpyOp) and push them as Box<dyn GraphOp> instead of using the closed enumDevice-to-device memcpy on the captured stream.
RngFillUniform(Box<RngFillUniformOp>)
👎Deprecated since 0.1.0: construct individual
impl GraphOp types (e.g. SgemmOp, MemcpyOp) and push them as Box<dyn GraphOp> instead of using the closed enumUniform RNG fill (gated on curand feature).
FftR2C(Box<FftR2COp>)
👎Deprecated since 0.1.0: construct individual
impl GraphOp types (e.g. SgemmOp, MemcpyOp) and push them as Box<dyn GraphOp> instead of using the closed enum1-D R2C FFT (gated on cufft feature). The user supplies a
pre-built CudaFft plan via GraphActor::set_fft_plan
before recording.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphOpLegacy
impl !RefUnwindSafe for GraphOpLegacy
impl Send for GraphOpLegacy
impl Sync for GraphOpLegacy
impl Unpin for GraphOpLegacy
impl UnsafeUnpin for GraphOpLegacy
impl !UnwindSafe for GraphOpLegacy
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