Skip to content

Commit

Permalink
Update std features for AVX-512
Browse files Browse the repository at this point in the history
The name of the feature changed in recent Rust nightly builds.
  • Loading branch information
robertknight committed Mar 15, 2024
1 parent 8d3874d commit 6bb8b41
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@
//! these pieces fit together.
//!
//! [rten_examples]: https://github.com/robertknight/rten/tree/main/rten-examples
#![cfg_attr(feature = "avx512", feature(stdsimd), feature(avx512_target_feature))]
#![cfg_attr(
feature = "avx512",
feature(stdarch_x86_avx512),
feature(avx512_target_feature)
)]

#[allow(unused)] // Docs only
use rten_tensor::{NdTensor, Tensor};
Expand Down

0 comments on commit 6bb8b41

Please sign in to comment.