Skip to content

Commit

Permalink
apply format
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyizhang-1 committed Jul 23, 2024
1 parent 3569729 commit 581ad4e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion crates/core_arch/src/x86_64/amxbf16.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_tile_dpbf16ps&ig_expand=6864)
#[inline]
#[allow(non_upper_case_globals)]
#[rustc_legacy_const_generics(0,1,2)]
#[rustc_legacy_const_generics(0, 1, 2)]
#[target_feature(enable = "amx-bf16")]
#[unstable(feature = "x86_amx_intrinsics", issue = "126622")]
pub unsafe fn _tile_dpbf16ps<const dst: i8, const A: i8, const B: i8>() {
Expand Down
4 changes: 2 additions & 2 deletions crates/core_arch/src/x86_64/amxcomplex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_tile_cmmimfp16ps&ig_expand=6860)
#[inline]
#[allow(non_upper_case_globals)]
#[rustc_legacy_const_generics(0,1,2)]
#[rustc_legacy_const_generics(0, 1, 2)]
#[target_feature(enable = "amx-complex")]
#[unstable(feature = "x86_amx_intrinsics", issue = "126622")]
pub unsafe fn _tile_cmmimfp16ps<const dst: i8, const A: i8, const B: i8>() {
Expand All @@ -30,7 +30,7 @@ pub unsafe fn _tile_cmmimfp16ps<const dst: i8, const A: i8, const B: i8>() {
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_tile_cmmrlfp16ps&ig_expand=6862)
#[inline]
#[allow(non_upper_case_globals)]
#[rustc_legacy_const_generics(0,1,2)]
#[rustc_legacy_const_generics(0, 1, 2)]
#[target_feature(enable = "amx-complex")]
#[unstable(feature = "x86_amx_intrinsics", issue = "126622")]
pub unsafe fn _tile_cmmrlfp16ps<const dst: i8, const A: i8, const B: i8>() {
Expand Down
2 changes: 1 addition & 1 deletion crates/core_arch/src/x86_64/amxfp16.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_tile_dpfp16ps&ig_expand=6874)
#[inline]
#[allow(non_upper_case_globals)]
#[rustc_legacy_const_generics(0,1,2)]
#[rustc_legacy_const_generics(0, 1, 2)]
#[target_feature(enable = "amx-fp16")]
#[unstable(feature = "x86_amx_intrinsics", issue = "126622")]
pub unsafe fn _tile_dpfp16ps<const dst: i8, const A: i8, const B: i8>() {
Expand Down
8 changes: 4 additions & 4 deletions crates/core_arch/src/x86_64/amxint8.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_tile_dpbssd&ig_expand=6866)
#[inline]
#[allow(non_upper_case_globals)]
#[rustc_legacy_const_generics(0,1,2)]
#[rustc_legacy_const_generics(0, 1, 2)]
#[target_feature(enable = "amx-int8")]
#[unstable(feature = "x86_amx_intrinsics", issue = "126622")]
pub unsafe fn _tile_dpbssd<const dst: i8, const A: i8, const B: i8>() {
Expand All @@ -24,7 +24,7 @@ pub unsafe fn _tile_dpbssd<const dst: i8, const A: i8, const B: i8>() {
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_tile_dpbsud&ig_expand=6868)
#[inline]
#[allow(non_upper_case_globals)]
#[rustc_legacy_const_generics(0,1,2)]
#[rustc_legacy_const_generics(0, 1, 2)]
#[target_feature(enable = "amx-int8")]
#[unstable(feature = "x86_amx_intrinsics", issue = "126622")]
pub unsafe fn _tile_dpbsud<const dst: i8, const A: i8, const B: i8>() {
Expand All @@ -42,7 +42,7 @@ pub unsafe fn _tile_dpbsud<const dst: i8, const A: i8, const B: i8>() {
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_tile_dpbusd&ig_expand=6870)
#[inline]
#[allow(non_upper_case_globals)]
#[rustc_legacy_const_generics(0,1,2)]
#[rustc_legacy_const_generics(0, 1, 2)]
#[target_feature(enable = "amx-int8")]
#[unstable(feature = "x86_amx_intrinsics", issue = "126622")]
pub unsafe fn _tile_dpbusd<const dst: i8, const A: i8, const B: i8>() {
Expand All @@ -60,7 +60,7 @@ pub unsafe fn _tile_dpbusd<const dst: i8, const A: i8, const B: i8>() {
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_tile_dpbuud&ig_expand=6872)
#[inline]
#[allow(non_upper_case_globals)]
#[rustc_legacy_const_generics(0,1,2)]
#[rustc_legacy_const_generics(0, 1, 2)]
#[target_feature(enable = "amx-int8")]
#[unstable(feature = "x86_amx_intrinsics", issue = "126622")]
pub unsafe fn _tile_dpbuud<const dst: i8, const A: i8, const B: i8>() {
Expand Down

0 comments on commit 581ad4e

Please sign in to comment.