/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/portable-simd/crates/core_simd/examples/ |
H A D | dot_product.rs | 46 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_0() 47 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_0() 64 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_1() 65 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_1() 78 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_2() 79 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_2() 103 let mut sums = f32x4::from_array(sums); in dot_prod_simd_3() 105 sums += f32x4::from_array(*x) * f32x4::from_array(*y); in dot_prod_simd_3() 117 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_4() 118 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_4() [all …]
|
H A D | nbody.rs | 28 x: f64x4::from_array([0., 0., 0., 0.]), 29 v: f64x4::from_array([0., 0., 0., 0.]), 34 x: f64x4::from_array([ 40 v: f64x4::from_array([ 50 x: f64x4::from_array([ 56 v: f64x4::from_array([ 66 x: f64x4::from_array([ 72 v: f64x4::from_array([ 82 x: f64x4::from_array([ 88 v: f64x4::from_array([ [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/portable-simd/crates/core_simd/examples/ |
H A D | dot_product.rs | 46 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_0() 47 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_0() 64 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_1() 65 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_1() 78 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_2() 79 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_2() 103 let mut sums = f32x4::from_array(sums); in dot_prod_simd_3() 105 sums += f32x4::from_array(*x) * f32x4::from_array(*y); in dot_prod_simd_3() 117 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_4() 118 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_4() [all …]
|
H A D | nbody.rs | 28 x: f64x4::from_array([0., 0., 0., 0.]), 29 v: f64x4::from_array([0., 0., 0., 0.]), 34 x: f64x4::from_array([ 40 v: f64x4::from_array([ 50 x: f64x4::from_array([ 56 v: f64x4::from_array([ 66 x: f64x4::from_array([ 72 v: f64x4::from_array([ 82 x: f64x4::from_array([ 88 v: f64x4::from_array([ [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/portable-simd/crates/core_simd/examples/ |
H A D | dot_product.rs | 47 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_0() 48 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_0() 65 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_1() 66 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_1() 79 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_2() 80 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_2() 104 let mut sums = f32x4::from_array(sums); in dot_prod_simd_3() 106 sums += f32x4::from_array(*x) * f32x4::from_array(*y); in dot_prod_simd_3() 118 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_4() 119 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_4() [all …]
|
H A D | nbody.rs | 28 x: f64x4::from_array([0., 0., 0., 0.]), 29 v: f64x4::from_array([0., 0., 0., 0.]), 34 x: f64x4::from_array([ 40 v: f64x4::from_array([ 50 x: f64x4::from_array([ 56 v: f64x4::from_array([ 66 x: f64x4::from_array([ 72 v: f64x4::from_array([ 82 x: f64x4::from_array([ 88 v: f64x4::from_array([ [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/portable-simd/crates/core_simd/examples/ |
H A D | dot_product.rs | 46 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_0() 47 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_0() 64 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_1() 65 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_1() 78 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_2() 79 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_2() 103 let mut sums = f32x4::from_array(sums); in dot_prod_simd_3() 105 sums += f32x4::from_array(*x) * f32x4::from_array(*y); in dot_prod_simd_3() 117 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_4() 118 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_4() [all …]
|
H A D | nbody.rs | 28 x: f64x4::from_array([0., 0., 0., 0.]), 29 v: f64x4::from_array([0., 0., 0., 0.]), 34 x: f64x4::from_array([ 40 v: f64x4::from_array([ 50 x: f64x4::from_array([ 56 v: f64x4::from_array([ 66 x: f64x4::from_array([ 72 v: f64x4::from_array([ 82 x: f64x4::from_array([ 88 v: f64x4::from_array([ [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/portable-simd/crates/core_simd/examples/ |
H A D | dot_product.rs | 47 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_0() 48 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_0() 65 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_1() 66 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_1() 79 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_2() 80 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_2() 104 let mut sums = f32x4::from_array(sums); in dot_prod_simd_3() 106 sums += f32x4::from_array(*x) * f32x4::from_array(*y); in dot_prod_simd_3() 118 .map(|&a| f32x4::from_array(a)) in dot_prod_simd_4() 119 .zip(b.array_chunks::<4>().map(|&b| f32x4::from_array(b))) in dot_prod_simd_4() [all …]
|
H A D | nbody.rs | 28 x: f64x4::from_array([0., 0., 0., 0.]), 29 v: f64x4::from_array([0., 0., 0., 0.]), 34 x: f64x4::from_array([ 40 v: f64x4::from_array([ 50 x: f64x4::from_array([ 56 v: f64x4::from_array([ 66 x: f64x4::from_array([ 72 v: f64x4::from_array([ 82 x: f64x4::from_array([ 88 v: f64x4::from_array([ [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/portable-simd/crates/core_simd/tests/ |
H A D | masks.rs | 67 let mask = Mask::<$type, 8>::from_array(values); 79 let mask = Mask::<$type, 16>::from_array(values); 90 let mask = Mask::<$type, 4>::from_array(values); 96 let mask = Mask::<$type, 2>::from_array(values); 108 let mask = Mask::<$type, 11>::from_array(values); 122 let mask = Mask::<$type, 8>::from_array(values); 145 let mask = Mask::<$type, 16>::from_array(values); 158 let mask = Mask::<$type, 4>::from_array(values); 196 Mask::<i8, 8>::from_array(values), in convert() 197 Mask::<i32, 8>::from_array(values).into() in convert()
|
H A D | swizzle.rs | 21 let vector = Simd::from_array([2, 4, 1, 9]); in swizzle() 29 let a = Simd::from_array([1, 2, 3, 4]); in reverse() 36 let a = Simd::from_array([1, 2, 3, 4]); in rotate() 54 let a = Simd::from_array([0, 1, 2, 3, 4, 5, 6, 7]); in interleave() 55 let b = Simd::from_array([8, 9, 10, 11, 12, 13, 14, 15]); in interleave() 68 let a = Simd::from_array([0]); in interleave_one() 69 let b = Simd::from_array([1]); in interleave_one()
|
H A D | masked_load_store.rs | 15 u8x4::splat(0).store_select(&mut arr[5..], Mask::from_array([false, true, false, true])); in masked_load_store() 19 u8x4::from_array([0, 1, 2, 3]).store_select(&mut arr[1..], Mask::splat(true)); in masked_load_store() 25 u8x4::from_array([3, 255, 0, 42]) in masked_load_store() 30 Mask::from_array([true, false, true, true]), in masked_load_store() 33 u8x4::from_array([3, 42, 0, 42]) in masked_load_store()
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/portable-simd/crates/core_simd/tests/ |
H A D | masks.rs | 67 let mask = Mask::<$type, 8>::from_array(values); 79 let mask = Mask::<$type, 16>::from_array(values); 90 let mask = Mask::<$type, 4>::from_array(values); 96 let mask = Mask::<$type, 2>::from_array(values); 108 let mask = Mask::<$type, 11>::from_array(values); 122 let mask = Mask::<$type, 8>::from_array(values); 145 let mask = Mask::<$type, 16>::from_array(values); 158 let mask = Mask::<$type, 4>::from_array(values); 196 Mask::<i8, 8>::from_array(values), in convert() 197 Mask::<i32, 8>::from_array(values).into() in convert()
|
H A D | swizzle.rs | 21 let vector = Simd::from_array([2, 4, 1, 9]); in swizzle() 29 let a = Simd::from_array([1, 2, 3, 4]); in reverse() 36 let a = Simd::from_array([1, 2, 3, 4]); in rotate() 54 let a = Simd::from_array([0, 1, 2, 3, 4, 5, 6, 7]); in interleave() 55 let b = Simd::from_array([8, 9, 10, 11, 12, 13, 14, 15]); in interleave() 68 let a = Simd::from_array([0]); in interleave_one() 69 let b = Simd::from_array([1]); in interleave_one()
|
H A D | masked_load_store.rs | 15 u8x4::splat(0).store_select(&mut arr[5..], Mask::from_array([false, true, false, true])); in masked_load_store() 19 u8x4::from_array([0, 1, 2, 3]).store_select(&mut arr[1..], Mask::splat(true)); in masked_load_store() 25 u8x4::from_array([3, 255, 0, 42]) in masked_load_store() 30 Mask::from_array([true, false, true, true]), in masked_load_store() 33 u8x4::from_array([3, 42, 0, 42]) in masked_load_store()
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/portable-simd/crates/core_simd/tests/ |
H A D | masks.rs | 67 let mask = Mask::<$type, 8>::from_array(values); 79 let mask = Mask::<$type, 16>::from_array(values); 90 let mask = Mask::<$type, 4>::from_array(values); 96 let mask = Mask::<$type, 2>::from_array(values); 108 let mask = Mask::<$type, 11>::from_array(values); 122 let mask = Mask::<$type, 8>::from_array(values); 145 let mask = Mask::<$type, 16>::from_array(values); 158 let mask = Mask::<$type, 4>::from_array(values); 196 Mask::<i8, 8>::from_array(values), in convert() 197 Mask::<i32, 8>::from_array(values).into() in convert()
|
H A D | swizzle.rs | 21 let vector = Simd::from_array([2, 4, 1, 9]); in swizzle() 29 let a = Simd::from_array([1, 2, 3, 4]); in reverse() 36 let a = Simd::from_array([1, 2, 3, 4]); in rotate() 54 let a = Simd::from_array([0, 1, 2, 3, 4, 5, 6, 7]); in interleave() 55 let b = Simd::from_array([8, 9, 10, 11, 12, 13, 14, 15]); in interleave() 68 let a = Simd::from_array([0]); in interleave_one() 69 let b = Simd::from_array([1]); in interleave_one()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/portable-simd/crates/core_simd/tests/ |
H A D | masks.rs | 67 let mask = Mask::<$type, 8>::from_array(values); 79 let mask = Mask::<$type, 16>::from_array(values); 90 let mask = Mask::<$type, 4>::from_array(values); 96 let mask = Mask::<$type, 2>::from_array(values); 108 let mask = Mask::<$type, 11>::from_array(values); 122 let mask = Mask::<$type, 8>::from_array(values); 145 let mask = Mask::<$type, 16>::from_array(values); 158 let mask = Mask::<$type, 4>::from_array(values); 196 Mask::<i8, 8>::from_array(values), in convert() 197 Mask::<i32, 8>::from_array(values).into() in convert()
|
H A D | swizzle.rs | 21 let vector = Simd::from_array([2, 4, 1, 9]); in swizzle() 29 let a = Simd::from_array([1, 2, 3, 4]); in reverse() 36 let a = Simd::from_array([1, 2, 3, 4]); in rotate() 54 let a = Simd::from_array([0, 1, 2, 3, 4, 5, 6, 7]); in interleave() 55 let b = Simd::from_array([8, 9, 10, 11, 12, 13, 14, 15]); in interleave() 68 let a = Simd::from_array([0]); in interleave_one() 69 let b = Simd::from_array([1]); in interleave_one()
|
H A D | masked_load_store.rs | 15 u8x4::splat(0).store_select(&mut arr[5..], Mask::from_array([false, true, false, true])); in masked_load_store() 19 u8x4::from_array([0, 1, 2, 3]).store_select(&mut arr[1..], Mask::splat(true)); in masked_load_store() 25 u8x4::from_array([3, 255, 0, 42]) in masked_load_store() 30 Mask::from_array([true, false, true, true]), in masked_load_store() 33 u8x4::from_array([3, 42, 0, 42]) in masked_load_store()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/portable-simd/crates/core_simd/tests/ |
H A D | masks.rs | 67 let mask = Mask::<$type, 8>::from_array(values); 79 let mask = Mask::<$type, 16>::from_array(values); 90 let mask = Mask::<$type, 4>::from_array(values); 96 let mask = Mask::<$type, 2>::from_array(values); 108 let mask = Mask::<$type, 11>::from_array(values); 122 let mask = Mask::<$type, 8>::from_array(values); 145 let mask = Mask::<$type, 16>::from_array(values); 158 let mask = Mask::<$type, 4>::from_array(values); 196 Mask::<i8, 8>::from_array(values), in convert() 197 Mask::<i32, 8>::from_array(values).into() in convert()
|
H A D | swizzle.rs | 21 let vector = Simd::from_array([2, 4, 1, 9]); in swizzle() 29 let a = Simd::from_array([1, 2, 3, 4]); in reverse() 36 let a = Simd::from_array([1, 2, 3, 4]); in rotate() 54 let a = Simd::from_array([0, 1, 2, 3, 4, 5, 6, 7]); in interleave() 55 let b = Simd::from_array([8, 9, 10, 11, 12, 13, 14, 15]); in interleave() 68 let a = Simd::from_array([0]); in interleave_one() 69 let b = Simd::from_array([1]); in interleave_one()
|
H A D | masked_load_store.rs | 15 u8x4::splat(0).store_select(&mut arr[5..], Mask::from_array([false, true, false, true])); in masked_load_store() 19 u8x4::from_array([0, 1, 2, 3]).store_select(&mut arr[1..], Mask::splat(true)); in masked_load_store() 25 u8x4::from_array([3, 255, 0, 42]) in masked_load_store() 30 Mask::from_array([true, false, true, true]), in masked_load_store() 33 u8x4::from_array([3, 42, 0, 42]) in masked_load_store()
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
H A D | remove_trivial_passthrough.cc | 45 const Array& from_array = model->GetArray(from); in Reroute() local 48 if (from_array.minmax && !to_array.minmax) { in Reroute() 49 to_array.GetOrCreateMinMax() = from_array.GetMinMax(); in Reroute() 52 to_array.narrow_range = from_array.narrow_range; in Reroute() 56 if (from_array.final_data_type != ArrayDataType::kNone && in Reroute() 58 to_array.final_data_type = from_array.final_data_type; in Reroute()
|