summaryrefslogtreecommitdiff
path: root/candle-metal-kernels
diff options
context:
space:
mode:
authorLaurent Mazare <laurent.mazare@gmail.com>2024-08-01 09:03:11 +0100
committerGitHub <noreply@github.com>2024-08-01 10:03:11 +0200
commit8696cf64947a7f3b712297426078dcf6ab0d199e (patch)
tree1f3601b5a035c4593233f8011e1d8d6b26e2656a /candle-metal-kernels
parent4a52aeb4372ae42d469b0c477be12d7d79c28bf5 (diff)
downloadcandle-8696cf64947a7f3b712297426078dcf6ab0d199e.tar.gz
candle-8696cf64947a7f3b712297426078dcf6ab0d199e.tar.bz2
candle-8696cf64947a7f3b712297426078dcf6ab0d199e.zip
Enable the affine kernel for u8/u32. (#2376)
Diffstat (limited to 'candle-metal-kernels')
-rw-r--r--candle-metal-kernels/src/affine.metal2
1 files changed, 2 insertions, 0 deletions
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)