diff options
author | Gonzalo <456459+grzuy@users.noreply.github.com> | 2024-01-17 15:47:08 -0300 |
---|---|---|
committer | Gonzalo <456459+grzuy@users.noreply.github.com> | 2024-01-17 15:47:08 -0300 |
commit | 17e6e2d7ee111abac7a2cf806cd888ff780da452 (patch) | |
tree | fa1cbad3f6d34c87c3f3a1940cbfd06760efb536 /candle-metal-kernels | |
parent | 5270224f407502b82fe90bc2622894ce3871b002 (diff) | |
download | candle-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.metal | 2 |
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) |