Home
last modified time | relevance | path

Searched refs:nDims (Results 1 – 4 of 4) sorted by relevance

/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_fp16.java36 private void initializeGlobals(RenderScript RS, ScriptC_fp16 s, Element e, int nDims) { in initializeGlobals() argument
38 switch (nDims) { in initializeGlobals()
53 s.set_gDimY(nDims > 1 ? dimY : 0); in initializeGlobals()
54 s.set_gDimZ(nDims > 2 ? dimZ : 0); in initializeGlobals()
58 private void TestHalf(RenderScript RS, ScriptC_fp16 s, int nDims) { in TestHalf() argument
59 initializeGlobals(RS, s, Element.F16(RS), nDims); in TestHalf()
69 initializeGlobals(RS, s, Element.F16(RS), nDims); in TestHalf()
79 private void TestHalf2(RenderScript RS, ScriptC_fp16 s, int nDims) { in TestHalf2() argument
80 initializeGlobals(RS, s, Element.F16_2(RS), nDims); in TestHalf2()
90 initializeGlobals(RS, s, Element.F16_2(RS), nDims); in TestHalf2()
[all …]
DUT_single_source_alloc.java52 private void initializeGlobals(RenderScript RS, ScriptC_single_source_alloc s, int nDims) { in initializeGlobals() argument
54 s.set_gDimY(nDims > 1 ? dimY : 0); in initializeGlobals()
55 s.set_gDimZ(nDims > 2 ? dimZ : 0); in initializeGlobals()
69 for (int nDims = 1; nDims <= 3; nDims++) { in run()
70 initializeGlobals(pRS, s, nDims); in run()
/frameworks/rs/tests/cpp_api/cppf16/
Dcompute.cpp11 void testAllocationCreation(const sp<RS>& rs, const sp<const Element>& e, uint32_t nDims) { in testAllocationCreation() argument
14 if (nDims >= 2) in testAllocationCreation()
16 if (nDims >= 3) in testAllocationCreation()
39 for (uint32_t nDims = 1; nDims <= 3; nDims ++) { in main() local
40 testAllocationCreation(rs, half, nDims); in main()
41 testAllocationCreation(rs, half2, nDims); in main()
42 testAllocationCreation(rs, half3, nDims); in main()
43 testAllocationCreation(rs, half4, nDims); in main()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_single_source_alloc.java54 private void initializeGlobals(RenderScript RS, ScriptC_single_source_alloc s, int nDims) { in initializeGlobals() argument
56 s.set_gDimY(nDims > 1 ? dimY : 0); in initializeGlobals()
57 s.set_gDimZ(nDims > 2 ? dimZ : 0); in initializeGlobals()
71 for (int nDims = 1; nDims <= 3; nDims++) { in run()
72 initializeGlobals(pRS, s, nDims); in run()