Skip to content

Commit

Permalink
macos aarch64 => fp16 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieupoumeyrolsonos committed Oct 11, 2023
1 parent f6e97e2 commit 9b86386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linalg/src/arm64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ lazy_static::lazy_static! {

#[inline]
pub fn has_fp16() -> bool {
cfg!(feature_cpu = "fp16") || *KIND == Kind::CortexA55 || *KIND == Kind::CortexA75 || *HAS_FP16
cfg!(target_os = "macos") || cfg!(feature_cpu = "fp16") || *KIND == Kind::CortexA55 || *KIND == Kind::CortexA75 || *HAS_FP16
}

#[target_feature(enable = "fp16")]
Expand Down

0 comments on commit 9b86386

Please sign in to comment.