| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
Bug: 28666819
Old-styles kernels are not allowed in a rsForEach() call, but allowed
to coexist with such calls. This test verifies that.
Updated the single-source kernel launch test to include some
old-style kernels, and a launch from Java of such an old-style kernel.
Change-Id: I7180266fcfa83400319f704c846805cc0349e144
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 28212281
- Added LOCAL_MIN_SDK_VERSION for tests using current SDK and intend
to run on older devices.
- Fix several errors in the AndroidManifest.xml.
Change-Id: Ib2d2b2b167f9c5a084fd3b09f742988b626c5052
|
| |\ \
| |/
|/|
| |
| |
| | |
* changes:
Fix uninitialized fields in rsElement for composite data types
Add a test for structs with 64-bit scalar fields
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
http://b/24142721
Add a test to trigger the above bug by operating on a struct with a
64-bit scalar field.
Change-Id: Ida6e3b25ef985c865a3bd583045c2ccfb9553bdf
(cherry picked from commit f6ea62be4717c73890dbe44e3781cb195c2cf7e1)
|
| |/
|
|
|
|
|
| |
Helps test that combiner function synthesis understands call lowering.
Bug: 27299475
Change-Id: Ifd8b69f5557025e0b359fd1497d3100807cec9b2
|
| |\
| |
| |
| | |
space." into nyc-dev
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(1) Apply Z-dimension limiting to 3D correctness tests.
The Z dimension is always handled specially by GPU drivers, and a high
value for this dimension can have serious performance implications.
For example, Cuda and OpenCL encourage Z to be the smallest dimension.
We have observed that prior to this fix, this testing runs out of
memory when running as a 32-bit application on n6p.
(2) Increase sparseness of 2D and 3D correctness tests.
Before this change, reduction tests take about 7m on n6p as a 32-bit app.
After this change, reduction tests take about 3m on n6p as a 32-bit app.
Bug: 27299475
Change-Id: Id8241cc3e2d0abbd5f643d1266dc4317b91093a0
|
| |\ \ |
|
| | |/
| |
| |
| |
| | |
Bug: 28118344
Change-Id: I5907887e27b97c9e4faa7747b0a907f3994c4ba2
|
| |\|
| |
| |
| | |
code." into nyc-dev
|
| | |
| |
| |
| |
| | |
Bug: 27973904
Change-Id: Id1e90e76d2442eca73cd2fba5d03002da27d86c6
|
| |\|
| |
| |
| | |
iteration spaces." into nyc-dev
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
iteration spaces.
Includes fix for bug in reduce_backward fz3 kernel (combiner function).
Bug: 27299475
Change-Id: I48ed2f99f53dfc786a85e04dc0206cb3ebe98034
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
http://b/27526302
Change-Id: Ibc71ef4523c2fe1f233a75bd5b8e5b2dbedb30de
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* changes:
Test rsDebug for half
Implement rsDebug for half
Add rsDebug for half
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
http://b/27556050
Change-Id: I9e9ff171faaf1bb59eeec90b27c6b14fe4b32196
|
| |\ \ \
| |/ /
|/| /
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Improved testing (UT_reduce.java):
- Add addint3D test.
- Execute 2D and 3D tests over a range of sizes.
Bug fixes:
- Fix bug in fz3 kernel (combiner function).
- Fix bug in UT_reduce_backward.java findMinAndMax test (copy fix from UT_reduce.java).
- In UT_reduce.java (which creates a very large number of Allocations), explicitly
invoke Allocation.destroy() to avoid out-of-native-memory problems.
Bug: 27299475
Change-Id: I939a329af9f92e57bc8aa4c22db2b56996f1ff88
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 27945291
- Remove 32bit only flag (except for RSTest_CompatLibLegacy)
- Make BLAS Benchmark able to run on N.
Change-Id: Ie4c39cfff5b964f009eec431b5ea1455ad9a6724
|
| |\ \
| | |
| | |
| | | |
reduction test overhaul." into nyc-dev
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
overhaul.
A reduction kernel is eligible for multithreaded execution if it has a
combiner function and it is launched over a 1D iteration space.
Note: Properties debug.rs.reduce-accum and debug.rs.reduce-split-accum
are added for debugging multithreaded reduction.
The following changes are made to reduction tests in RsTest:
- Overhaul the test framework -- now data-driven, and can execute the same
test multiple times with different seeds and input sizes, features
separate sets of quick correctness tests, full correctness tests,
and performance tests. (Performance tests are not run by default.)
- Report timing information for test execution.
- Report more information for fz* kernel testing.
- Remove dp kernel testing -- this involved floating-point arithmetic
which is not guaranteed to produce identical results between java
and rs or for different rs multithreaded executions.
- Add sumgcd kernel testing. This is intended to be representative of
a compute-heavy kernel.
- findMinAndMax kernel testing must compare cell value not cell index
-- two or more cells might have the same min or max value, and java
and various rs multithreaded executions are not guaranteed to find
the same cell.
- Fix bug in findMinAndMax kernel's combiner function. (It behaved
incorrectly when operating on an accumulator datum that has been
initialized but never passed to the accumulator function.)
- RsTest now requests largeHeap.
Bug: 27299475
Change-Id: I58f99c21389dbae5c8e3ad85d98700dc165664bb
|
| |\ \ \ |
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 27340444
- Adding a default region makes it possible to test HealingBrush on
fugu.
- Fix NPE, when no photos are in the Download folder.
Change-Id: Idecd70618580bb3e40f322e36ab8a3454a579076
(cherry picked from commit f04a68c0e3e58ce4cb6a47a5f9cd17b63003db3a)
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
http://b/27547875
Add test for native_distance in RsTest. Also add missing tests and
re-order tests for other Float16 vector functions.
Change-Id: I0527dd5cf447aa9b31e1c73bcb555c03adc66042
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 27439842
An RS intrinsic relies on RSExpandKernelDriverInfo.usr for the "this"
pointer to the ScriptIntrinsic object.
Need to to correctly set that field in a script execution for intrinsics.
Also fixed a bcc command-line option.
Added a test of script group with intrinsics to ImageProcessing GroupTest(native).
Change-Id: Ia8b45bca3396ac987ba167fd1709ee89123a2557
(cherry picked from commit 7a106adbb5e370b544f2cbf5b83c063560c81b57)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
http://b/25819476
These failures are fixed by the recent LLVM rebase.
Change-Id: I71ef78eebddaa76d4d6fb64f13b57aa89f76f8db
|
| |/ /
| |
| |
| |
| |
| |
| |
| | |
http://b/26099914
These tests are fixed by the recent LLVM rebase.
Change-Id: I40c7493c856309bf2b43ade25c9e6e734c33797e
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
Bug: 27692823
Since libRSSupport is not necessarily included in the test APK, this
test will try to load libRSSupport.so from /system/lib directory,
which will fail after M.
This was really an old work around for NDK RS API, and no longer needed.
Change-Id: Ifccc09f5cec074fba40f7a0cfc300b8294e80aa3
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Requires corresponding change in frameworks/support.
Note that the new RSTest_CompatLib test cases were copied from RsTest.
Also:
- Change LOCAL_RENDERSCRIPT_TARGET_API to 0.
- Change manifest targetSdkVersion from 8 to 24 (see Bug: 27367665).
- Change compile-only RSTest_CompatLib test apitest.rs to use N rather than pre-N
rsForEach() API.
Bug: 23535724
Change-Id: I872f2b5a83fb78f4b54b8f6710e1d49df3bea3d1
(cherry picked from commit 328245ae4aecdae3ec23a640efc454959f2ff98c)
|
| |
|
|
|
|
|
| |
http://b/23536224
Change-Id: Idbf28fec0b5e7cdc279d8ad80d60fec1077cac1d
(cherry picked from commit c5345365efaace2b7c76ce1c3ea71b5047cd6227)
|
| |
|
|
|
|
|
|
|
| |
http://b/24862914
These were previously disabled due to a missing enum value.
Change-Id: Idc2115a03d2fe48bd542f6fe8fd585e6e54b5bb6
(cherry picked from commit de5b6081ce101491910be97c5b204305018f1b62)
|
| |\
| |
| |
| | |
functions." into nyc-dev
|
| | |
| |
| |
| |
| |
| |
| | |
Bug: 23535724
(cherry picked from commit 23966203d0b4d4a7da90d521349dbb77d7283261)
Change-Id: I99c3a6f9623d8fa422a4699d5a2967db14caedd3
|
| |/
|
|
|
|
|
|
|
|
|
| |
http://b/23536224
http://b/26099914
Variants of frexp and modf for half vectors also fail instruction
selection on AArch64. Disable this test until we update on-device LLVM.
Change-Id: I0a7463c8c955f7bd945b5ec7690d2a4a158579dc
(cherry picked from commit de10692c7e41bb52ccc627dd85e1e3f35d85ffb6)
|
| |
|
|
|
|
|
|
| |
http://b/23536224
(cherry picked from commit 8ea537d7fd075f0057a4d8780093cbace104c8c8)
Change-Id: I3ee8961147a715f8eaf3063bb91b94a6e944a6c6
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
am: 9084aebf5c
* commit '9084aebf5c4047f61cb02602de071714da286360':
Enable half tests for copysign, ilogb, nextafter
Implement copysign, ilogb and nextafter for half
Update RS headers with copysign, ilogb and nextafter
Add copysign, ilogb and nextafter for half
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
http://b/23536224
Tests for copysign, ilogb and nextafter were disabled until they could
be added to the spec and headers. This CL enables these tests.
Test for nextafter is updated so inputs in subnormal range are not
tested.
Change-Id: I27ca961de650362f0bb55fda36c449523773c8a2
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| | |
a255273939
am: 9f2be515c1
* commit '9f2be515c18d7aff99e2a55a67f273dc746e1951':
Rename from com.android.rs.test -> com.android.rs.refocus.
|
| | |
| |
| |
| |
| |
| |
| | |
The collision here prevented me from installing this app alongside the
actual RSTest app (which has always used com.android.rs.test).
Change-Id: I0811f9738de68c6c591aa2a948fb7e7a4c96c7b5
|
| |\|
| |
| |
| |
| |
| |
| | |
am: 88df392629
* commit '88df392629d06b1444fc7bccbbd29b4a3e587ede':
Support for general reduction kernels.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Requires coordinated change in frameworks/base.
Requires coordinated change in frameworks/compile/libbcc in order
for RsTest to run.
At present, general reduction kernels are run single-threaded.
Also: Remove dead struct field MTLaunchStructForEach::sig.
Bug: 23535724
Change-Id: Ice17ccf20a902f8a106eaa62ec071d46e3c0ad8c
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Updated the RenderScript API spec files, and reran the auto-generating
script for the single-source RS API.
Also updated LatencyBenchmark makefile to set its target-api to 23,
since it uses the deprecated rsForEach() function that takes a script
parameter.
Change-Id: I75d36010be49a0cdcbe1d6ec1fc7eed3a6d7b12b
|
| |\|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
am: 8c13d3ea14
* commit '8c13d3ea1454d2197d020c8ecb23e3e3822b511a':
Test f16 math functions in RsTest
Implement f16 math functions in the runtime
Generated .rsh files for f16 math functions
Add RS math functions for F16.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- API test to ensure all f16 math functions added in
https://android-review.googlesource.com/#/c/186324 exist
- Tests nextafter and ilogb are included but commented out.
Bug: 23536224
Bug: 26099914
Change-Id: If5bcbb34750f9b47af80fe01af27a629cbf78882
|
| |\|
| |
| |
| |
| |
| |
| | |
am: af55b48044
* commit 'af55b48044adc194462adba2e55034ee141a6d7a':
Test F16 allocations
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 25819476
Test reads and writes on an f16 allocation in an invoke and as part of
input or outputs of kernels.
Change-Id: I1bc3f3f8b544db02067767913b2fb114ae097be7
|