summaryrefslogtreecommitdiff
path: root/candle-metal-kernels
diff options
context:
space:
mode:
authorBaye Dieng <bayedieng98@gmail.com>2024-01-11 17:14:12 +0000
committerBaye Dieng <bayedieng98@gmail.com>2024-01-11 17:14:12 +0000
commit1327419776c244867a101b3ff1dc0b9247ed0650 (patch)
tree50d6b8fa522aa176f8392f9e15868b9b037e873d /candle-metal-kernels
parent402349d120716b49459dafdc79b906b54a5579ea (diff)
downloadcandle-1327419776c244867a101b3ff1dc0b9247ed0650.tar.gz
candle-1327419776c244867a101b3ff1dc0b9247ed0650.tar.bz2
candle-1327419776c244867a101b3ff1dc0b9247ed0650.zip
close ifdef
Diffstat (limited to 'candle-metal-kernels')
-rw-r--r--candle-metal-kernels/src/cast.metal2
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-metal-kernels/src/cast.metal b/candle-metal-kernels/src/cast.metal
index e08931cf..ac40bc16 100644
--- a/candle-metal-kernels/src/cast.metal
+++ b/candle-metal-kernels/src/cast.metal
@@ -89,7 +89,6 @@ CAST(cast_i64_f32, cast_i64_f32_strided, int64_t, float)
#if __METAL_VERSION__ >= 310
CAST(cast_bf16_u32, cast_bf16_u32_strided, bfloat, uint32_t)
CAST(cast_bf16_f32, cast_bf16_f32_strided, bfloat, float)
-
CAST(cast_u8_bf16, cast_u8_bf16_strided, uint8_t, bfloat)
CAST(cast_u32_bf16, cast_u32_bf16_strided, uint32_t, bfloat)
CAST(cast_f32_bf16, cast_f32_bf16_strided, float, bfloat)
@@ -98,3 +97,4 @@ CAST_THROUGH(cast_bf16_u8, cast_bf16_u8_strided, bfloat, uint8_t, float)
CAST_THROUGH(cast_bf16_f16, cast_bf16_f16_strided, bfloat, half, float)
CAST_THROUGH(cast_f16_bf16, cast_f16_bf16_strided, half, bfloat, float)
#endif
+#endif \ No newline at end of file