Skip to content

Commit

Permalink
removed kernel hashmap
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Fioti authored and Joe Fioti committed Jan 12, 2024
1 parent c506d1e commit ab9df3d
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 217 deletions.
3 changes: 0 additions & 3 deletions src/compilers/metal/fp16/matmul.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,6 @@ impl Compiler for MetalMatMulCompiler {
dev.clone(),
queue.clone(),
&mut HashMap::new(),
&graph.dyn_map,
))
.input(src2, 0, src2_shape)
.finish();
Expand Down Expand Up @@ -496,7 +495,6 @@ impl Compiler for MetalMatMulCompiler {
src1_shape,
dev.clone(),
queue.clone(),
&mut HashMap::new(),
&graph.dyn_map,
))
.input(src1, 0, src1_shape)
Expand All @@ -510,7 +508,6 @@ impl Compiler for MetalMatMulCompiler {
src2_shape,
dev.clone(),
queue.clone(),
&mut HashMap::new(),
&graph.dyn_map,
))
.input(src2, 0, src2_shape)
Expand Down
1 change: 0 additions & 1 deletion src/compilers/metal/fp16/rms_norm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ impl Compiler for RMSNormCompiler {
sh,
dev.clone(),
queue.clone(),
&mut HashMap::new(),
&graph.dyn_map,
))
.input(x, 0, sh)
Expand Down
2 changes: 0 additions & 2 deletions src/compilers/metal/fp32/matmul.rs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@ impl Compiler for MetalMatMulCompiler {
src1_shape,
dev.clone(),
queue.clone(),
&mut HashMap::default(),
&graph.dyn_map,
))
.input(src1, 0, src1_shape)
Expand All @@ -368,7 +367,6 @@ impl Compiler for MetalMatMulCompiler {
src2_shape,
dev.clone(),
queue.clone(),
&mut HashMap::default(),
&graph.dyn_map,
))
.input(src2, 0, src2_shape)
Expand Down
2 changes: 1 addition & 1 deletion src/compilers/metal/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use metal_rs::*;
use crate::{
op::InputTensor,
prelude::{
symbolic::{BigExpression, Expression, Term},
symbolic::{BigExpression, Term},
*,
},
};
Expand Down
Loading

0 comments on commit ab9df3d

Please sign in to comment.