Home
last modified time | relevance | path

Searched refs:createSized (Results 1 – 25 of 84) sorted by relevance

1234

/frameworks/rs/tests/lldb/cpp/Allocations/
DAllocations.cpp89 mChar2Allocation = Allocation::createSized(mRS, Element::I8_2(mRS), mAllocSize / 2); in createSignedAllocations()
90 mChar3Allocation = Allocation::createSized(mRS, Element::I8_3(mRS), mAllocSize / 4); in createSignedAllocations()
91 mChar4Allocation = Allocation::createSized(mRS, Element::I8_4(mRS), mAllocSize / 4); in createSignedAllocations()
98 mShortAllocation = Allocation::createSized(mRS, Element::I16(mRS), mAllocSize); in createSignedAllocations()
100 mShort3Allocation = Allocation::createSized(mRS, Element::I16_3(mRS), mAllocSize / 4); in createSignedAllocations()
101 mShort4Allocation = Allocation::createSized(mRS, Element::I16_4(mRS), mAllocSize / 4); in createSignedAllocations()
107 mIntAllocation = Allocation::createSized(mRS, Element::I32(mRS), mAllocSize); in createSignedAllocations()
108 mInt2Allocation = Allocation::createSized(mRS, Element::I32_2(mRS), mAllocSize / 2); in createSignedAllocations()
110 mInt4Allocation = Allocation::createSized(mRS, Element::I32_4(mRS), mAllocSize / 4); in createSignedAllocations()
116 mLongAllocation = Allocation::createSized(mRS, Element::I64(mRS), mAllocSize); in createSignedAllocations()
[all …]
/frameworks/rs/tests/lldb/jni/Allocations/jniallocations/
Djniallocations.cpp93 mChar2Allocation = Allocation::createSized(mRS, Element::I8_2(mRS), mAllocSize / 2); in createSignedAllocations()
94 mChar3Allocation = Allocation::createSized(mRS, Element::I8_3(mRS), mAllocSize / 4); in createSignedAllocations()
95 mChar4Allocation = Allocation::createSized(mRS, Element::I8_4(mRS), mAllocSize / 4); in createSignedAllocations()
102 mShortAllocation = Allocation::createSized(mRS, Element::I16(mRS), mAllocSize); in createSignedAllocations()
104 mShort3Allocation = Allocation::createSized(mRS, Element::I16_3(mRS), mAllocSize / 4); in createSignedAllocations()
105 mShort4Allocation = Allocation::createSized(mRS, Element::I16_4(mRS), mAllocSize / 4); in createSignedAllocations()
111 mIntAllocation = Allocation::createSized(mRS, Element::I32(mRS), mAllocSize); in createSignedAllocations()
112 mInt2Allocation = Allocation::createSized(mRS, Element::I32_2(mRS), mAllocSize / 2); in createSignedAllocations()
114 mInt4Allocation = Allocation::createSized(mRS, Element::I32_4(mRS), mAllocSize / 4); in createSignedAllocations()
120 mLongAllocation = Allocation::createSized(mRS, Element::I64(mRS), mAllocSize); in createSignedAllocations()
[all …]
/frameworks/rs/tests/lldb/java/Allocations/src/com/android/rs/allocations/
DMainActivity.java127 mChar2Allocation = Allocation.createSized(mRS, Element.I8_2(mRS), mAllocSize / 2); in createSignedAllocations()
129 mChar3Allocation = Allocation.createSized(mRS, Element.I8_3(mRS), mAllocSize / 4); in createSignedAllocations()
131 mChar4Allocation = Allocation.createSized(mRS, Element.I8_4(mRS), mAllocSize / 4); in createSignedAllocations()
139 mShortAllocation = Allocation.createSized(mRS, Element.I16(mRS), mAllocSize); in createSignedAllocations()
143 mShort3Allocation = Allocation.createSized(mRS, Element.I16_3(mRS), mAllocSize / 4); in createSignedAllocations()
145 mShort4Allocation = Allocation.createSized(mRS, Element.I16_4(mRS), mAllocSize / 4); in createSignedAllocations()
152 mIntAllocation = Allocation.createSized(mRS, Element.I32(mRS), mAllocSize); in createSignedAllocations()
154 mInt2Allocation = Allocation.createSized(mRS, Element.I32_2(mRS), mAllocSize / 2); in createSignedAllocations()
158 mInt4Allocation = Allocation.createSized(mRS, Element.I32_4(mRS), mAllocSize / 4); in createSignedAllocations()
165 mLongAllocation = Allocation.createSized(mRS, Element.I64(mRS), mAllocSize); in createSignedAllocations()
[all …]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
DImageBuffersForRenderScriptd1new.java51 sharpRGBAAllocation = Allocation.createSized( in ImageBuffersForRenderScriptd1new()
54 sharpActualDepthAllocation = Allocation.createSized( in ImageBuffersForRenderScriptd1new()
57 sharpDilatedDepthAllocation = Allocation.createSized( in ImageBuffersForRenderScriptd1new()
60 sharpActiveAllocation = Allocation.createSized( in ImageBuffersForRenderScriptd1new()
63 sharpMatteAllocation = Allocation.createSized( in ImageBuffersForRenderScriptd1new()
66 fuzzyRGBAAllocation = Allocation.createSized( in ImageBuffersForRenderScriptd1new()
69 integralRGBAAllocation = Allocation.createSized( in ImageBuffersForRenderScriptd1new()
/frameworks/compile/slang/tests/P_reduce_general_accumulator/
DScriptC_reduce_general_accumulator.java.expect87 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
107 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
120 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
140 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
153 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
173 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
186 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
206 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
219 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
239 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_input/
DScriptC_reduce_general_input.java.expect155 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
175 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
188 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
208 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
221 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
241 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
254 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
274 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
287 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
307 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
[all …]
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
DUT_copy_test.java33 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2()
34 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2()
57 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3()
58 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3()
81 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4()
82 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_copy_test.java34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2()
35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2()
58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3()
59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3()
82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4()
83 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4()
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
DUT_copy_test.java34 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2()
35 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2()
58 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3()
59 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3()
82 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4()
83 Allocation a2 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4()
/frameworks/rs/tests/lldb/java/SingleSource/src/com/android/rs/singlesource/
DMainActivity.java51 mAllocIn1 = Allocation.createSized(mRS, Element.F32(mRS), 4); in onCreate()
56 mAllocIn2 = Allocation.createSized(mRS, Element.F32(mRS), 4); in onCreate()
61 mAllocOut = Allocation.createSized(mRS, Element.F32(mRS), 4); in onCreate()
64 mScript.set_global_alloc(Allocation.createSized(mRS, Element.F32(mRS), 4)); in onCreate()
/frameworks/compile/slang/tests/P_reduce_general_examples/
DScriptC_reduce_general_examples.java.expect208 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
228 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
241 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
261 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
275 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length);
286 Allocation ain2 = Allocation.createSized(mRSLocal, __F32, in2.length);
325 Allocation aout = Allocation.createSized(mRSLocal, __F32, 1);
338 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length);
358 Allocation aout = Allocation.createSized(mRSLocal, __I32_2, 1);
371 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect208 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
228 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
241 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
261 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
275 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length);
286 Allocation ain2 = Allocation.createSized(mRSLocal, __F32, in2.length);
325 Allocation aout = Allocation.createSized(mRSLocal, __F32, 1);
338 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length);
358 Allocation aout = Allocation.createSized(mRSLocal, __I32_2, 1);
371 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
[all …]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
DImageBuffersForRenderScriptF32.java45 sharpImageAllocation = Allocation.createSized( in ImageBuffersForRenderScriptF32()
49 fuzzyImageAllocation = Allocation.createSized( in ImageBuffersForRenderScriptF32()
53 integralImageAllocation = Allocation.createSized(renderScript, in ImageBuffersForRenderScriptF32()
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
DScriptC_reduce_general_examples_explicit.java.expect170 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
190 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
203 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
223 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
236 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
256 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
270 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length);
281 Allocation ain2 = Allocation.createSized(mRSLocal, __F32, in2.length);
320 Allocation aout = Allocation.createSized(mRSLocal, __F32, 1);
333 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect2722 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
2742 Allocation aout = Allocation.createSized(mRSLocal, __F16, 1);
2759 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2);
2779 Allocation aout = Allocation.createSized(mRSLocal, __F16_2, 1);
2796 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4);
2816 Allocation aout = Allocation.createSized(mRSLocal, __F16_4, 1);
2829 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
2849 Allocation aout = Allocation.createSized(mRSLocal, __F16, 7);
2866 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2);
2886 Allocation aout = Allocation.createSized(mRSLocal, __F16_2, 7);
[all …]
/frameworks/rs/tests/lldb/java/BranchingFunCalls/src/com/android/rs/branchingfuncalls/
DMainActivity.java46 mInAllocation = Allocation.createSized(mRS, e, mAllocSize); in createScript()
47 mOutAllocation = Allocation.createSized(mRS, e, mAllocSize); in createScript()
/frameworks/rs/tests/java_api/LatencyBenchmark/src/com/example/android/rs/computebench/
DBenchmark.java31 ain = Allocation.createSized(rs, Element.U32(mRS), 10000); in Benchmark()
32 aout = Allocation.createSized(rs, Element.U32(mRS), 10000); in Benchmark()
/frameworks/compile/slang/tests/P_reduce_general_duplicate_array/
DScriptC_reduce_general_duplicate_array.java.expect87 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
107 Allocation aout = Allocation.createSized(mRSLocal, __I32, 4);
120 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
140 Allocation aout = Allocation.createSized(mRSLocal, __I32, 4);
/frameworks/rs/tests/java_api/MathErr/src/com/example/android/rs/matherr/
DMathErr.java40 mAllocationSrc = Allocation.createSized(rs, Element.F32(rs), BUF_SIZE); in MathErr()
41 mAllocationRes = Allocation.createSized(rs, Element.F32(rs), BUF_SIZE); in MathErr()
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/
DScriptC_reduce_general_examples_halter.java.expect125 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
145 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
158 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
178 Allocation aout = Allocation.createSized(mRSLocal, __I32_2, 1);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DWhiteBalance.java33 mSums = Allocation.createSized(mRS, Element.I32_3(mRS), 256); in createTest()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DWhiteBalance.java33 mSums = Allocation.createSized(mRS, Element.I32_3(mRS), 256); in createTest()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DSwarm.java306 Allocation posAlloc = Allocation.createSized(rs, Element.F32_4(rs), SWARM_SIZE); in doInBackground()
307 Allocation velAlloc = Allocation.createSized(rs, Element.F32_4(rs), SWARM_SIZE); in doInBackground()
311 Allocation triAlloc1 = Allocation.createSized(rs, Element.F32_4(rs), triAllocSize); in doInBackground()
315 triAlloc2 = Allocation.createSized(rs, Element.F32_4(rs), triAllocSize); in doInBackground()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DWhiteBalance.java32 mSums = Allocation.createSized(mRS, Element.I32_4(mRS), 256); in createTest()
/frameworks/rs/tests/java_api/ComputePerf/src/com/example/android/rs/computeperf/
DLaunchTest.java33 mAllocationX = Allocation.createSized(rs, Element.U8(rs), dim); in LaunchTest()

1234