pub struct UnfuseElementwiseRegions {
pub unfuse_prologue: bool,
}Fields§
§unfuse_prologue: boolWhen false, ElementwiseRegion nodes with an FKL prologue are kept
for native GPU region kernels; when true (CPU), they decompose too.
Implementations§
Source§impl UnfuseElementwiseRegions
impl UnfuseElementwiseRegions
Sourcepub const FOR_GPU: UnfuseElementwiseRegions
pub const FOR_GPU: UnfuseElementwiseRegions
GPU / Metal / CUDA / wgpu: unfuse plain regions, keep resize prologue.
Sourcepub const FOR_CPU: UnfuseElementwiseRegions
pub const FOR_CPU: UnfuseElementwiseRegions
CPU: decompose every region (no native region executor).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UnfuseElementwiseRegions
impl RefUnwindSafe for UnfuseElementwiseRegions
impl Send for UnfuseElementwiseRegions
impl Sync for UnfuseElementwiseRegions
impl Unpin for UnfuseElementwiseRegions
impl UnsafeUnpin for UnfuseElementwiseRegions
impl UnwindSafe for UnfuseElementwiseRegions
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