Skip to content

Commit 0950959

Browse files
authored
Fix metal exports (#3081)
1 parent 87fadf6 commit 0950959

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

candle-metal-kernels/src/kernels/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub use mlx_gemm::{call_mlx_gemm, GemmDType};
2424
pub use quantized::{call_quantized_matmul_mm_t, call_quantized_matmul_mv_t, GgmlDType};
2525
pub use random::*;
2626
pub use reduce::*;
27-
pub use sdpa::{call_sdpa_full, call_sdpa_vector, call_sdpa_vector_2pass};
27+
pub use sdpa::{call_sdpa_full, call_sdpa_vector, call_sdpa_vector_2pass, SdpaDType};
2828
pub use sort::{call_arg_sort, call_mlx_arg_sort};
2929
pub use ternary::call_where_cond_strided;
3030
pub use unary::*;

candle-metal-kernels/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ pub use err::MetalKernelError;
99
pub use kernel::Kernels;
1010
pub use kernels::{
1111
affine::*, call_binary_contiguous, call_binary_strided, call_mlx_gemm, cast::*, convolution::*,
12-
fill::*, indexing::*, quantized::*, random::*, reduce::*, sort::*, ternary::*, unary, unary::*,
13-
GemmDType, GgmlDType,
12+
fill::*, indexing::*, quantized::*, random::*, reduce::*, sdpa::*, sort::*, ternary::*, unary,
13+
unary::*, GemmDType, GgmlDType,
1414
};
1515
use metal::{
1616
BlitCommandEncoder, Buffer, CommandQueue, ComputeCommandEncoder, ComputePipeline,

0 commit comments

Comments
 (0)