/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
D | ScriptC_reduce_general_inputs.java.expect | 125 // in2 = "b" 126 public result_int reduce_my_half_half_0(short[] in1, short[] in2) { 134 // Verify that "in2" is non-null. 135 if (in2 == null) { 136 throw new RSIllegalArgumentException("Array \"in2\" is null!"); 139 if (in1.length != in2.length) { 140 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!"); 142 Allocation ain2 = Allocation.createSized(mRSLocal, __F16, in2.length); 144 ain2.copyFrom(in2); 189 // in2 = "b" [all …]
|
/frameworks/ml/nn/common/operations/ |
D | MaximumMinimum.cpp | 92 bool prepare(const Shape& in1, const Shape& in2, Shape* out) { in prepare() argument 93 NN_CHECK(in1.type == in2.type); in prepare() 94 return calculateBroadcastedShape(in1, in2, out); in prepare() 97 bool eval(const void* in1, const Shape& shape1, const void* in2, const Shape& shape2, in eval() argument 103 reinterpret_cast<const _Float16*>(in2), shape2, isMinimum, in eval() 108 reinterpret_cast<const float*>(in2), shape2, isMinimum, in eval() 113 reinterpret_cast<const int32_t*>(in2), shape2, isMinimum, in eval() 118 reinterpret_cast<const uint8_t*>(in2), shape2, isMinimum, in eval() 123 reinterpret_cast<const int8_t*>(in2), shape2, isMinimum, in eval()
|
D | Broadcast.cpp | 74 const float* in1, const Shape& shape1, const float* in2, const Shape& shape2, 77 bool binaryOperationFloat16(const _Float16* in1, const Shape& shape1, const _Float16* in2, in binaryOperationFloat16() argument 83 convertFloat16ToFloat32(in2, &in2_float32); in binaryOperationFloat16() 93 bool addFloat32(const float* in1, const Shape& shape1, const float* in2, const Shape& shape2, in addFloat32() argument 101 in1, convertShapeToDims(shape1), in2, convertShapeToDims(shape2), out, \ in addFloat32() 110 in1, convertShapeToDims(shape1), in2, convertShapeToDims(shape2), out, \ in addFloat32() 120 bool addFloat16(const _Float16* in1, const Shape& shape1, const _Float16* in2, const Shape& shape2, in addFloat16() argument 123 return binaryOperationFloat16(in1, shape1, in2, shape2, activation, out, shapeOut, &addFloat32); in addFloat16() 127 bool addQuant8(const T* in1, const Shape& shape1, const T* in2, const Shape& shape2, in addQuant8() argument 184 in2, convertShapeToTflshape(shapeOut), out); in addQuant8() [all …]
|
D | MaximumMinimum.h | 26 bool prepare(const Shape& in1, const Shape& in2, Shape* output); 28 bool eval(const void* in1, const Shape& shape1, const void* in2, const Shape& shape2,
|
D | Pow.h | 26 bool prepare(const Shape& in1, const Shape& in2, Shape* output);
|
/frameworks/rs/ |
D | rsCppUtils.h | 103 T rsMin(T in1, T in2) in rsMin() argument 105 if (in1 > in2) { in rsMin() 106 return in2; in rsMin() 112 T rsMax(T in1, T in2) { in rsMax() argument 113 if (in1 < in2) { in rsMax() 114 return in2; in rsMax()
|
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/ |
D | ScriptC_reduce_general_examples_explicit.java.expect | 267 // in2 = "in2" 268 public result_float reduce_dp_init(float[] in1, float[] in2) { 276 // Verify that "in2" is non-null. 277 if (in2 == null) { 278 throw new RSIllegalArgumentException("Array \"in2\" is null!"); 281 if (in1.length != in2.length) { 282 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!"); 284 Allocation ain2 = Allocation.createSized(mRSLocal, __F32, in2.length); 286 ain2.copyFrom(in2); 294 // ain2 = "float in2" [all …]
|
D | reduce_general_examples_explicit.rscript | 46 static void dpiAccum(float *accum, float in1, float in2) { 47 *accum += in1*in2;
|
/frameworks/compile/slang/tests/F_reflection3264_multifile/ |
D | reflection3264_multifile_2.rscript | 15 // error: 'in2' has different types for 32-bit and 64-bit targets 16 void RS_KERNEL m(int in1, size_t in2) { }
|
/frameworks/compile/slang/tests/F_too_many_inputs/ |
D | too_many_inputs.rscript | 5 int RS_KERNEL good(int in0, int in1, int in2, int in3, int in4, int in5, int in6, int in7) { 9 int RS_KERNEL bad(int in0, int in1, int in2, int in3, int in4, int in5, int in6, int in7, int in8) {
|
/frameworks/compile/slang/tests/P_reduce_general_examples/ |
D | ScriptC_reduce_general_examples.java.expect | 272 // in2 = "in2" 273 public result_float reduce_dp(float[] in1, float[] in2) { 281 // Verify that "in2" is non-null. 282 if (in2 == null) { 283 throw new RSIllegalArgumentException("Array \"in2\" is null!"); 286 if (in1.length != in2.length) { 287 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!"); 289 Allocation ain2 = Allocation.createSized(mRSLocal, __F32, in2.length); 291 ain2.copyFrom(in2); 299 // ain2 = "float in2" [all …]
|
D | reduce_general_examples.rscript | 31 static void dpAccum(float *accum, float in1, float in2) { 32 *accum += in1*in2;
|
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/ |
D | ScriptC_reduce_general_examples_backward.java.expect | 272 // in2 = "in2" 273 public result_float reduce_dp(float[] in1, float[] in2) { 281 // Verify that "in2" is non-null. 282 if (in2 == null) { 283 throw new RSIllegalArgumentException("Array \"in2\" is null!"); 286 if (in1.length != in2.length) { 287 … throw new RSRuntimeException("Array length mismatch between parameters \"in1\" and \"in2\"!"); 289 Allocation ain2 = Allocation.createSized(mRSLocal, __F32, in2.length); 291 ain2.copyFrom(in2); 299 // ain2 = "float in2" [all …]
|
D | reduce_general_examples_backward.rscript | 28 static void dpAccum(float *accum, float in1, float in2) { 29 *accum += in1*in2;
|
/frameworks/rs/tests/lldb/java/SingleSource/src/com/android/rs/singlesource/ |
D | MainActivity.java | 57 float [] in2 = new float[]{ 5.f, 6.f, 7.f, 8.f }; in onCreate() local 58 mAllocIn2.copyFrom(in2); in onCreate()
|
/frameworks/base/tools/aapt/tests/ |
D | Pseudolocales_test.cpp | 36 static void compound_helper(const char* in1, const char* in2, const char *in3, in compound_helper() argument 41 pseudo.text(String16(String8(in2))) + \ in compound_helper()
|
/frameworks/rs/tests/lldb/java/SingleSource/src/rs/ |
D | rs_single_source.rscript | 48 void script_invoke_1(rs_allocation out, rs_allocation in1, rs_allocation in2) 56 rsForEach(kernel_2, out, in1, in2);
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | foreach_multi.rscript | 74 uint32_t RS_KERNEL sum3(uint32_t in0, uint32_t in1, uint32_t in2, uint32_t x) { 77 _RS_ASSERT(in2 == x); 79 return in0 + in1 + in2;
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | foreach_multi.rscript | 76 uint32_t RS_KERNEL sum3(uint32_t in0, uint32_t in1, uint32_t in2, uint32_t x) { 79 _RS_ASSERT(in2 == x); 81 return in0 + in1 + in2;
|
/frameworks/base/tools/aapt2/compile/ |
D | Pseudolocalizer_test.cpp | 41 const char* in1, const char* in2, const char* in3, const char* expected, in CompoundHelper() argument 44 std::string result = pseudo.Start() + pseudo.Text(in1) + pseudo.Text(in2) + in CompoundHelper()
|
/frameworks/ml/nn/common/ |
D | OperationsUtils.cpp | 116 bool SameShape(const Shape& in1, const Shape& in2) { in SameShape() argument 117 if (in1.type != in2.type || in1.dimensions.size() != in2.dimensions.size()) { in SameShape() 121 if (in1.dimensions[i] != in2.dimensions[i]) { in SameShape() 341 bool calculateBroadcastedShape(const Shape& in1, const Shape& in2, Shape* out) { in calculateBroadcastedShape() argument 342 NN_RET_CHECK(in1.type == in2.type); in calculateBroadcastedShape() 344 uint32_t numberOfDims2 = getNumberOfDimensions(in2); in calculateBroadcastedShape() 354 dim2 = getSizeOfDimension(in2, numberOfDims2 - i); in calculateBroadcastedShape()
|
/frameworks/ml/nn/common/include/ |
D | OperationsUtils.h | 140 bool SameShape(const Shape& in1, const Shape& in2); 289 bool calculateBroadcastedShape(const Shape& in1, const Shape& in2, Shape* out);
|
/frameworks/ml/nn/runtime/test/ |
D | TestValidation.cpp | 1216 int in2 = 0; in TEST_F() local 1221 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 2, nullptr, &in2, sizeof(in2)), in TEST_F() 2622 int in2 = 0; in TEST_F() local 2627 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 2, nullptr, &in2, sizeof(in2)), in TEST_F() 2782 int in2 = 0; in runExecutionSetTimeoutTest() local 2787 ASSERT_EQ(ANeuralNetworksExecution_setInput(execution, 2, nullptr, &in2, sizeof(in2)), in runExecutionSetTimeoutTest()
|
/frameworks/compile/libbcc/tests/libbcc/ |
D | test_reduce_general_metadata.ll | 71 define internal void @dpAccum(float* nocapture %accum, float %in1, float %in2) #0 { 72 %1 = fmul float %in1, %in2
|
D | test_reduce_general_cleanup.ll | 60 define internal void @dpAccum(float* nocapture %accum, float %in1, float %in2) #0 { 61 %1 = fmul float %in1, %in2
|