Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
favilo committed Dec 28, 2023
1 parent afa3a1a commit 29668c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dfdx-core/src/tensor_ops/utilities/webgpu_kernels.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ impl HasGlslType for f64 {
}

pub(crate) use webgpu_unary;
use wgpu::{BufferBindingType, ComputePipelineDescriptor, Device, PipelineLayout, ShaderStages, BindingType};
use wgpu::{
BindingType, BufferBindingType, ComputePipelineDescriptor, Device, PipelineLayout, ShaderStages,
};

impl<E: Dtype + HasGlslType, K: UnaryOpWebgpuKernel<E> + 'static> UnaryKernel<K, E> for Webgpu {
const BACKWARD_WITHOUT_INP: bool = K::DF_USES_FX;
Expand Down

0 comments on commit 29668c6

Please sign in to comment.