add scatter add (#2656)

This commit is contained in:
zachcp
2024-12-01 12:39:38 -05:00
committed by GitHub
parent dba7a9c93e
commit 6f715f9256
2 changed files with 2 additions and 0 deletions

View File

@ -1284,6 +1284,7 @@ impl BackendStorage for MetalStorage {
(DType::U8, DType::F32) => "sa_u8_f32",
(DType::U8, DType::F16) => "sa_u8_f16",
(DType::U8, DType::BF16) => "sa_u8_bf16",
(DType::U32, DType::U32) => "sa_u32_u32",
(DType::U32, DType::F32) => "sa_u32_f32",
(DType::U32, DType::F16) => "sa_u32_f16",
(DType::U32, DType::BF16) => "sa_u32_bf16",