diff options
author | ivarflakstad <69173633+ivarflakstad@users.noreply.github.com> | 2024-01-11 22:14:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-11 22:14:38 +0100 |
commit | c1876b80415f5b84f3ea07589f359c786035fc5f (patch) | |
tree | be3ac1ef6983e756f44cd43d268a9cf82c712052 | |
parent | 402349d120716b49459dafdc79b906b54a5579ea (diff) | |
parent | 85e568027731e58b72fb2798c525a5d8aff65eb8 (diff) | |
download | candle-c1876b80415f5b84f3ea07589f359c786035fc5f.tar.gz candle-c1876b80415f5b84f3ea07589f359c786035fc5f.tar.bz2 candle-c1876b80415f5b84f3ea07589f359c786035fc5f.zip |
Merge pull request #1567 from bayedieng/close-ifdef
-rw-r--r-- | candle-metal-kernels/src/cast.metal | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/candle-metal-kernels/src/cast.metal b/candle-metal-kernels/src/cast.metal index e08931cf..9aead139 100644 --- a/candle-metal-kernels/src/cast.metal +++ b/candle-metal-kernels/src/cast.metal @@ -86,10 +86,8 @@ CAST(cast_i64_f32, cast_i64_f32_strided, int64_t, float) #endif #if defined(__HAVE_BFLOAT__) -#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) @@ -97,4 +95,4 @@ CAST(cast_f32_bf16, cast_f32_bf16_strided, float, bfloat) 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 |