From 8696cf64947a7f3b712297426078dcf6ab0d199e Mon Sep 17 00:00:00 2001 From: Laurent Mazare Date: Thu, 1 Aug 2024 09:03:11 +0100 Subject: Enable the affine kernel for u8/u32. (#2376) --- candle-metal-kernels/src/affine.metal | 2 ++ 1 file changed, 2 insertions(+) (limited to 'candle-metal-kernels') diff --git a/candle-metal-kernels/src/affine.metal b/candle-metal-kernels/src/affine.metal index 76c0365a..cbbb03e2 100644 --- a/candle-metal-kernels/src/affine.metal +++ b/candle-metal-kernels/src/affine.metal @@ -109,6 +109,8 @@ kernel void FN_NAME##_strided( \ } \ +AFFINE(affine_u8, uint8_t) +AFFINE(affine_u32, uint32_t) AFFINE(affine_f32, float) AFFINE(affine_f16, half) POWF(powf_f32, float) -- cgit v1.2.3