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.expect90 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
110 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
123 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
143 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
156 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
176 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
189 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
209 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
222 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
242 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_input/
DScriptC_reduce_general_input.java.expect158 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
178 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
191 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
211 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
224 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
244 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
257 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
277 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
290 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
310 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
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/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_copy_test.java35 Allocation a1 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2()
36 Allocation a2 = Allocation.createSized(rs, Element.F32_2(rs), 1024); in testFloat2()
59 Allocation a1 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3()
60 Allocation a2 = Allocation.createSized(rs, Element.F32_3(rs), 1024); in testFloat3()
83 Allocation a1 = Allocation.createSized(rs, Element.F32_4(rs), 1024); in testFloat4()
84 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/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_inputs/
DScriptC_reduce_general_inputs.java.expect131 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
142 Allocation ain2 = Allocation.createSized(mRSLocal, __F16, in2.length);
181 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
195 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
206 Allocation ain2 = Allocation.createSized(mRSLocal, __F16, in2.length);
245 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
259 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
274 Allocation ain2 = Allocation.createSized(mRSLocal, __F16_2, in2.length / 2);
313 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
327 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples/
DScriptC_reduce_general_examples.java.expect211 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
231 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
244 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
264 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
278 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length);
289 Allocation ain2 = Allocation.createSized(mRSLocal, __F32, in2.length);
328 Allocation aout = Allocation.createSized(mRSLocal, __F32, 1);
341 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length);
361 Allocation aout = Allocation.createSized(mRSLocal, __I32_2, 1);
374 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect211 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
231 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
244 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
264 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
278 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length);
289 Allocation ain2 = Allocation.createSized(mRSLocal, __F32, in2.length);
328 Allocation aout = Allocation.createSized(mRSLocal, __F32, 1);
341 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length);
361 Allocation aout = Allocation.createSized(mRSLocal, __I32_2, 1);
374 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.expect173 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
193 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
206 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
226 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
239 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
259 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
273 Allocation ain1 = Allocation.createSized(mRSLocal, __F32, in1.length);
284 Allocation ain2 = Allocation.createSized(mRSLocal, __F32, in2.length);
323 Allocation aout = Allocation.createSized(mRSLocal, __F32, 1);
336 Allocation ain1 = Allocation.createSized(mRSLocal, __U8, in1.length);
[all …]
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect2725 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
2745 Allocation aout = Allocation.createSized(mRSLocal, __F16, 1);
2762 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2);
2782 Allocation aout = Allocation.createSized(mRSLocal, __F16_2, 1);
2799 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_4, in1.length / 4);
2819 Allocation aout = Allocation.createSized(mRSLocal, __F16_4, 1);
2832 Allocation ain1 = Allocation.createSized(mRSLocal, __F16, in1.length);
2852 Allocation aout = Allocation.createSized(mRSLocal, __F16, 7);
2869 Allocation ain1 = Allocation.createSized(mRSLocal, __F16_2, in1.length / 2);
2889 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.expect90 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
110 Allocation aout = Allocation.createSized(mRSLocal, __I32, 4);
123 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
143 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.expect128 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
148 Allocation aout = Allocation.createSized(mRSLocal, __I32, 1);
161 Allocation ain1 = Allocation.createSized(mRSLocal, __I32, in1.length);
181 Allocation aout = Allocation.createSized(mRSLocal, __I32_2, 1);
/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/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/ImageProcessing2/src/com/android/rs/image/
DWhiteBalance.java32 mSums = Allocation.createSized(mRS, Element.I32_4(mRS), 256); in createTest()

1234