Home
last modified time | relevance | path

Searched refs:Aligned (Results 1 – 25 of 553) sorted by relevance

12345678910>>...23

/external/llvm-project/llvm/unittests/ADT/
DPointerUnionTest.cpp117 template<int I> struct alignas(8) Aligned {}; struct
119 typedef PointerUnion<Aligned<0> *, Aligned<1> *, Aligned<2> *, Aligned<3> *,
120 Aligned<4> *, Aligned<5> *, Aligned<6> *, Aligned<7> *>
124 Aligned<0> a0; in TEST_F()
125 Aligned<7> a7; in TEST_F()
128 EXPECT_TRUE(a.is<Aligned<0>*>()); in TEST_F()
129 EXPECT_FALSE(a.is<Aligned<1>*>()); in TEST_F()
130 EXPECT_FALSE(a.is<Aligned<2>*>()); in TEST_F()
131 EXPECT_FALSE(a.is<Aligned<3>*>()); in TEST_F()
132 EXPECT_FALSE(a.is<Aligned<4>*>()); in TEST_F()
[all …]
/external/eigen/bench/tensors/
Dtensor_benchmarks.h56 const TensorMap<Tensor<int, 2, 0, TensorIndex>, Eigen::Aligned> A((int*)a_, sizes); in typeCasting()
57 TensorMap<Tensor<T, 2, 0, TensorIndex>, Eigen::Aligned> B(b_, sizes); in typeCasting()
72 TensorMap<Tensor<T, 2>, Eigen::Aligned> C(c_, sizes); in random()
87 const TensorMap<Tensor<T, 2>, Eigen::Aligned> A(a_, sizes); in slicing()
88 const TensorMap<Tensor<T, 2>, Eigen::Aligned> B(b_, sizes); in slicing()
89 TensorMap<Tensor<T, 2>, Eigen::Aligned> C(c_, sizes); in slicing()
117 const TensorMap<Tensor<T, 2, 0, TensorIndex>, Eigen::Aligned> B(b_, input_size); in rowChip()
120 TensorMap<Tensor<T, 1, 0, TensorIndex>, Eigen::Aligned> C(c_, output_size); in rowChip()
134 const TensorMap<Tensor<T, 2, 0, TensorIndex>, Eigen::Aligned> B(b_, input_size); in colChip()
137 TensorMap<Tensor<T, 1, 0, TensorIndex>, Eigen::Aligned> C(c_, output_size); in colChip()
[all …]
/external/skia/bench/
DGrMemoryPoolBench.cpp18 struct alignas(GrMemoryPool::kAlignment) Aligned { struct
21 static_assert(sizeof(Aligned) == 32);
22 static_assert(sizeof(Aligned) % GrMemoryPool::kAlignment == 0);
33 static_assert(GrAlignTo(sizeof(Unaligned), GrMemoryPool::kAlignment) == sizeof(Aligned));
193 DEF_BENCH( return new GrMemoryPoolBench("stack_aligned_lg", run_stack<Aligned>, kLargePool…
194 DEF_BENCH( return new GrMemoryPoolBench("stack_aligned_sm", run_stack<Aligned>, kSmallPool…
195 DEF_BENCH( return new GrMemoryPoolBench("stack_aligned_ref", run_stack<Aligned>, 0); )
200 DEF_BENCH( return new GrMemoryPoolBench("queue_aligned_lg", run_queue<Aligned>, kLargePool…
201 DEF_BENCH( return new GrMemoryPoolBench("queue_aligned_sm", run_queue<Aligned>, kSmallPool…
202 DEF_BENCH( return new GrMemoryPoolBench("queue_aligned_ref", run_queue<Aligned>, 0); )
[all …]
/external/oboe/samples/RhythmGame/third_party/glm/detail/
Dfunc_matrix.inl10 template <template <typename, precision> class matType, typename T, precision P, bool Aligned>
22 template <template <class, precision> class matType, typename T, precision P, bool Aligned>
25 template <typename T, precision P, bool Aligned>
26 struct compute_transpose<tmat2x2, T, P, Aligned>
39 template <typename T, precision P, bool Aligned>
40 struct compute_transpose<tmat2x3, T, P, Aligned>
55 template <typename T, precision P, bool Aligned>
56 struct compute_transpose<tmat2x4, T, P, Aligned>
73 template <typename T, precision P, bool Aligned>
74 struct compute_transpose<tmat3x2, T, P, Aligned>
[all …]
Dfunc_geometric.inl13 template <template <typename, precision> class vecType, typename T, precision P, bool Aligned>
22 template <template <typename, precision> class vecType, typename T, precision P, bool Aligned>
31 template <template <class, precision> class vecType, typename T, precision P, bool Aligned>
34 template <typename T, precision P, bool Aligned>
35 struct compute_dot<tvec1, T, P, Aligned>
43 template <typename T, precision P, bool Aligned>
44 struct compute_dot<tvec2, T, P, Aligned>
53 template <typename T, precision P, bool Aligned>
54 struct compute_dot<tvec3, T, P, Aligned>
63 template <typename T, precision P, bool Aligned>
[all …]
/external/eigen/Eigen/src/Core/products/
DGeneralMatrixVector.h219 _EIGEN_ACCUMULATE_PACKETS(Aligned,Aligned,Aligned);
223 _EIGEN_ACCUMULATE_PACKETS(Aligned,Unaligned,Aligned);
233 A01 = lhs1.template load<LhsPacket, Aligned>(alignedStart-1);
234 A02 = lhs2.template load<LhsPacket, Aligned>(alignedStart-2);
235 A03 = lhs3.template load<LhsPacket, Aligned>(alignedStart-3);
239 … A11 = lhs1.template load<LhsPacket, Aligned>(j-1+LhsPacketSize); palign<1>(A01,A11);
240 … A12 = lhs2.template load<LhsPacket, Aligned>(j-2+LhsPacketSize); palign<2>(A02,A12);
241 … A13 = lhs3.template load<LhsPacket, Aligned>(j-3+LhsPacketSize); palign<3>(A03,A13);
243 A00 = lhs0.template load<LhsPacket, Aligned>(j);
244 A10 = lhs0.template load<LhsPacket, Aligned>(j+LhsPacketSize);
[all …]
/external/tensorflow/tensorflow/core/framework/
Dtensor_types.h28 Eigen::Aligned>
31 Eigen::Tensor<const T, NDIMS, Eigen::RowMajor, IndexType>, Eigen::Aligned>
42 Eigen::Aligned>
48 Eigen::Aligned>
52 Eigen::Aligned>
65 Eigen::Aligned>
68 Eigen::Tensor<const T, 1, Eigen::RowMajor, IndexType>, Eigen::Aligned>
71 Eigen::Aligned>
74 Eigen::Tensor<const T, 1, Eigen::RowMajor, IndexType>, Eigen::Aligned>
91 Eigen::Aligned>
[all …]
/external/rust/crates/bstr/src/unicode/fsm/
Dregional_indicator_rev.rs11 struct Aligned<B: ?Sized> {
16 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
29 struct Aligned<B: ?Sized> {
34 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
Dwhitespace_anchored_fwd.rs11 struct Aligned<B: ?Sized> {
16 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
29 struct Aligned<B: ?Sized> {
34 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
Dsentence_break_fwd.rs11 struct Aligned<B: ?Sized> {
16 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
29 struct Aligned<B: ?Sized> {
34 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
Dgrapheme_break_rev.rs11 struct Aligned<B: ?Sized> {
16 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
29 struct Aligned<B: ?Sized> {
34 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
Dwhitespace_anchored_rev.rs11 struct Aligned<B: ?Sized> {
16 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
29 struct Aligned<B: ?Sized> {
34 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
Dgrapheme_break_fwd.rs11 struct Aligned<B: ?Sized> {
16 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
29 struct Aligned<B: ?Sized> {
34 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
Dsimple_word_fwd.rs11 struct Aligned<B: ?Sized> {
16 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
29 struct Aligned<B: ?Sized> {
34 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
Dword_break_fwd.rs11 struct Aligned<B: ?Sized> {
16 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
29 struct Aligned<B: ?Sized> {
34 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
/external/eigen/unsupported/test/
Dcxx11_tensor_of_float16_cuda.cu34 Eigen::TensorMap<Eigen::Tensor<float, 1>, Eigen::Aligned> gpu_float( in test_cuda_numext()
36 Eigen::TensorMap<Eigen::Tensor<bool, 1>, Eigen::Aligned> gpu_res_half( in test_cuda_numext()
38 Eigen::TensorMap<Eigen::Tensor<bool, 1>, Eigen::Aligned> gpu_res_float( in test_cuda_numext()
74 Eigen::TensorMap<Eigen::Tensor<float, 1>, Eigen::Aligned> gpu_float( in test_cuda_conversion()
76 Eigen::TensorMap<Eigen::Tensor<Eigen::half, 1>, Eigen::Aligned> gpu_half( in test_cuda_conversion()
78 Eigen::TensorMap<Eigen::Tensor<float, 1>, Eigen::Aligned> gpu_conv( in test_cuda_conversion()
109 Eigen::TensorMap<Eigen::Tensor<float, 1>, Eigen::Aligned> gpu_float( in test_cuda_unary()
111 Eigen::TensorMap<Eigen::Tensor<float, 1>, Eigen::Aligned> gpu_res_half( in test_cuda_unary()
113 Eigen::TensorMap<Eigen::Tensor<float, 1>, Eigen::Aligned> gpu_res_float( in test_cuda_unary()
147 Eigen::TensorMap<Eigen::Tensor<float, 1>, Eigen::Aligned> gpu_float1( in test_cuda_elementwise()
[all …]
/external/eigen/test/
Dmapstride.cpp25 if(Alignment!=Aligned) in map_class_vector()
65 if(Alignment!=Aligned) in map_class_matrix()
70 if(Alignment!=Aligned) in map_class_matrix()
153 CALL_SUBTEST_1( map_class_vector<Aligned>(Matrix<float, 1, 1>()) ); in test_mapstride()
155 CALL_SUBTEST_2( map_class_vector<Aligned>(Vector4d()) ); in test_mapstride()
157 CALL_SUBTEST_3( map_class_vector<Aligned>(RowVector4f()) ); in test_mapstride()
159 CALL_SUBTEST_4( map_class_vector<Aligned>(VectorXcf(internal::random<int>(1,maxn))) ); in test_mapstride()
161 CALL_SUBTEST_5( map_class_vector<Aligned>(VectorXi(internal::random<int>(1,maxn))) ); in test_mapstride()
164 CALL_SUBTEST_1( map_class_matrix<Aligned>(Matrix<float, 1, 1>()) ); in test_mapstride()
166 CALL_SUBTEST_2( map_class_matrix<Aligned>(Matrix4d()) ); in test_mapstride()
[all …]
/external/deqp/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/spirv1p4/opcopymemory/
Ddifferent_alignments.amber39 OpCopyMemory %dst_gep0 %src_gep0 Aligned 16 Aligned 4
42 OpCopyMemory %dst_gep1 %src_gep1 Aligned 16 Aligned 4
45 OpCopyMemory %dst_gep2 %src_gep2 Aligned 16 Aligned 4
48 OpCopyMemory %dst_gep3 %src_gep3 Aligned 16 Aligned 4
/external/deqp-deps/glslang/Test/baseResults/
Dspv.bufferhandle4.frag.out82 27: 7(ptr) Load 26 Aligned 8
84 30: 9(ptr) Load 29 Aligned 8
86 32: 7(ptr) Load 31 Aligned 8
88 34: 9(ptr) Load 33 Aligned 8
90 36: 7(ptr) Load 35 Aligned 8
92 39: 6(int) Load 38 Aligned 16
94 Store 40 39 Aligned 16
108 56: 7(ptr) Load 55 Aligned 8
110 58: 9(ptr) Load 57 Aligned 8
Dspv.bufferhandle1.frag.out79 25: 8(int) Load 24 Aligned 16
81 Store 26 25 Aligned 4
88 36: 8(int) Load 35 Aligned 8
90 Store 37 36 Aligned 4
94 42: 8(int) Load 41 Aligned 4
96 Store 43 42 Aligned 4
100 49: 8(int) Load 48 Aligned MakePointerVisibleKHR NonPrivatePointerKHR 4 50
102 Store 51 49 Aligned 4
Dspv.bufferhandle14.frag.out87 17: 7(int) Load 16 Aligned 4
89 Store 18 17 Aligned 4
93 26: 7(int) Load 25 Aligned 8
95 Store 27 26 Aligned 8
99 35: 7(int) Load 34 Aligned 8
101 Store 36 35 Aligned 16
105 44: 7(int) Load 43 Aligned 8
107 Store 45 44 Aligned 32
/external/llvm-project/clang/test/CXX/expr/expr.unary/expr.new/
Dp14.cpp21 struct alignas(Align) Aligned { struct
24 auto *aa = new Aligned<__STDCPP_DEFAULT_NEW_ALIGNMENT__>; // expected-error {{no matching}}
25 auto *ab = new Aligned<__STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2>; // expected-error {{deleted}}
26 auto *aap = new (arg) Aligned<__STDCPP_DEFAULT_NEW_ALIGNMENT__, Arg>; // expected-error {{no matchi…
27 auto *abp = new (arg) Aligned<__STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2, Arg>; // expected-error {{delet…
/external/llvm-project/mlir/test/Dialect/SPIRV/Serialization/
Dmemory-ops.mlir90 // CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} ["Aligned", 4] : f32
91 spv.CopyMemory "Function" %0, "Function" %1 ["Aligned", 4] : f32
99 … // CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} ["Aligned", 4], ["Volatile"] : f32
100 spv.CopyMemory "Function" %0, "Function" %1 ["Aligned", 4], ["Volatile"] : f32
102 … // CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} ["Volatile"], ["Aligned", 4] : f32
103 spv.CopyMemory "Function" %0, "Function" %1 ["Volatile"], ["Aligned", 4] : f32
105 …// CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} ["Aligned", 8], ["Aligned", 4] : f…
106 spv.CopyMemory "Function" %0, "Function" %1 ["Aligned", 8], ["Aligned", 4] : f32
/external/OpenCL-CTS/test_conformance/spirv_new/spirv_asm/
Dloop_merge_branch_none.spvasm3240 %21 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
42 OpStore %19 %uint_0 Aligned 4
43 OpStore %20 %uint_0 Aligned 4
60 OpStore %19 %36 Aligned 4
70 OpStore %40 %39 Aligned 4
Dloop_merge_branch_conditional_none.spvasm3240 %21 = OpLoad %v3uint %gl_GlobalInvocationID Aligned 0
42 OpStore %19 %uint_0 Aligned 4
43 OpStore %20 %uint_0 Aligned 4
58 OpStore %19 %35 Aligned 4
68 OpStore %39 %38 Aligned 4

12345678910>>...23