summaryrefslogtreecommitdiff
path: root/candle-metal-kernels
diff options
context:
space:
mode:
authorGonzalo <456459+grzuy@users.noreply.github.com>2024-01-17 15:47:08 -0300
committerGonzalo <456459+grzuy@users.noreply.github.com>2024-01-17 15:47:08 -0300
commit17e6e2d7ee111abac7a2cf806cd888ff780da452 (patch)
treefa1cbad3f6d34c87c3f3a1940cbfd06760efb536 /candle-metal-kernels
parent5270224f407502b82fe90bc2622894ce3871b002 (diff)
downloadcandle-17e6e2d7ee111abac7a2cf806cd888ff780da452.tar.gz
candle-17e6e2d7ee111abac7a2cf806cd888ff780da452.tar.bz2
candle-17e6e2d7ee111abac7a2cf806cd888ff780da452.zip
Fixes metal kernel u8 type
Diffstat (limited to 'candle-metal-kernels')
-rw-r--r--candle-metal-kernels/src/binary.metal2
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-metal-kernels/src/binary.metal b/candle-metal-kernels/src/binary.metal
index eb560f16..ae11286a 100644
--- a/candle-metal-kernels/src/binary.metal
+++ b/candle-metal-kernels/src/binary.metal
@@ -73,7 +73,7 @@ BINARY(FN, uint32_t, uint8_t, NAME##_u32, NAME##_u32_strided); \
BINARY(FN, uint8_t, uint8_t, NAME##_u8, NAME##_u8_strided);
#define INT64_BINARY_OP_OUT(NAME, FN) \
-BINARY(FN, int64_t, int8_t, NAME##_i64, NAME##_i64_strided);
+BINARY(FN, int64_t, uint8_t, NAME##_i64, NAME##_i64_strided);
BINARY_OP(x + y, add)
BINARY_OP(x - y, sub)