| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
Now that libRS.so has been split into public/private libraries, we must
also move gDebuggerPresent into the public side. lldb uses this as a
flag to indicate that the driver can proceed (after waiting for the
debugger to attach).
Change-Id: I4c8f5c466644a51d50368ac8dd91f0bfd699302d
(cherry picked from commit 98cb2d1420a22536649af2c493a58595f7c2542e)
Bug: 30312793
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 27983025
Device should be destroyed inside the destructor of the associated
Context.
Change-Id: I921a89974e1174f837349a89aef9b03efa4882f5
|
| |/
|
|
|
| |
Bug: 27299475
Change-Id: I5be634fe38d20b9fe6867ad3c0c0b982442b52fd
|
| |\
| |
| |
| | |
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: 26546579
libRS_internal.so is not going to be whitelisted by the NDK linker,
therefore loadable only by the internal implementation, but not any
application code.
libRS is going to contain only publicly exported functions, i.e. the
functions declared in frameworks/rs/rs.h, including those in
rsApiFuncDecl.h (generated from rs.spec).
Change-Id: Iac58695316edc9aff87ade2bac3b4a44d1a68b23
|
| |
|
|
|
|
|
|
|
|
| |
This patch derives the optimization level of the slang bitcode
and passes that to bcc. This patch replaces the old method, where
a flag was passed to the RenderScript context and the context
would set the optimization level accordingly.
Change-Id: Ie64a2d0125ca30da4ae7522961dca144d0457f03
Signed-off-by: Stephen McGroarty <stephen@codeplay.com>
|
| |
|
|
| |
Change-Id: Iba57869192ba9b1fde995ff0e48b7a28b2cb122f
|
| |
|
|
|
|
|
|
|
| |
Add a flag RS_CONTEXT_OPT_LEVEL_0 which sets a field mOptLevel in the Context
to 0 when calling bcc.
Using this flag will result in an object file that is easier to debug.
Change-Id: I9673506710cc9f34c415b694fe5d6bc7e967f1db
Signed-off-by: verena beckham <verena@codeplay.com>
|
| |
|
|
|
|
|
|
|
|
| |
Added in a small flag which is passed to the context from the Java/C++ API
which causes the context to delay execution until a debugger is a attached.
This gives time to the developer to attach a debugger to the process before
the kernel is executed.
Change-Id: I5bb8e75100436920f9e1a0f414f3b0bcf0d2b439
Signed-off-by: Stephen McGroarty <stephen@codeplay.com>
|
| |
|
|
|
|
|
|
|
| |
Add null terminator to strings
Return nullptr if string is not set
bug 20894664
Change-Id: I33f5d84d56f6299558f5d8713694e40afc82dd20
|
| |
|
|
|
|
|
|
|
|
| |
The existing linker path hard-coded "-lRSDriver" into the command line, but
this won't work for partner drivers that have a different implementation
loaded. In order to still properly handle use of the CPU driver, this needs
to change depending on whether we actually loaded an OVERRIDE_RS_DRIVER or
not.
Change-Id: I0c4a4f12f5db819b234952bc8f364ac6300f147b
|
| |
|
|
| |
Change-Id: I1731637412cf9e894f2b73dc32ab3370f6467160
|
| |
|
|
| |
Change-Id: Icc3220329fbaee7d453259fbe1cbf34d145d195c
|
| |
|
|
|
|
|
|
| |
libRS.so for __LP64__
Bug: 19953162
Change-Id: Ic240052255c8d3056c0af455a4bd2cfbbb16b17d
|
| |
|
|
|
|
|
|
| |
Prevent launching additional commands if the process is dying
This increases the chance the developer will get the error message
before we segfault somewhere.
Change-Id: I575906b22364c0d03859140570ca29bf8f336c01
|
| |
|
|
|
|
|
|
|
| |
This CL make the loading of RS drivers more robust by
looking up entry points in place of a structure of entry points.
It also adds framework for a version handshake.
Change-Id: Iae46bf0171785c0ca1048223816b6efc60c337ad
|
| |
|
|
|
|
|
|
|
|
| |
b/19148482
This reverts commit 93d6bc872b7d9fba63abfa7513d56b38d9c3d371.
I also made some changes to Make it work with HEAD.
Change-Id: I5e516976ec1d85ffe1cf388c01795348a9441982
|
| |
|
|
|
|
|
|
|
| |
for 64bit Renderscript compat lib.
- Native lib path stored in Java and queried from JNI.
- Then set to Context during context creation.
Change-Id: I3c997cf849efb7b9a0b0ac35d5b62289d70e7434
|
| |
|
|
|
|
|
| |
Graphics ran a display priority. Compute should run at a lower
priority.
Change-Id: I72055eeb2b62813d3b1d17f2d8e863b178019c8f
|
| |\
| |
| |
| |
| | |
* commit '6e6cdbc303bef581cfb7d1fd0902cb42c89010cc':
Add flag to disable 64-bit driver.
|
| | |
| |
| |
| |
| |
| | |
bug 17428047
Change-Id: I888dd310449bf9079e352cb4aef31344c05b0ba8
|
| |\ \
| | |
| | |
| | | |
Change-Id: Ia3a7f084693825d4e46a4864788332a7d039d38f
|
| | | |
| | |
| | |
| | | |
Change-Id: I918c40879aa547438f77e7d1a95fa2aa33bec398
|
| |\| |
| |/
|/|
| |
| |
| | |
* commit '3fa79f84fcce0b5f59498980a2bb8e355cf53cd4':
Replaced android::Vector with std::vector.
Adjust to handle the change to std::vector in libbcc.
|
| | |
| |
| |
| | |
Change-Id: I4c6abd964dc4b1412ec2e592fc8e835fecfe53f6
|
| | |
| |
| |
| | |
Change-Id: Ia78cd133f2b29c36f117852157ca78c2389792d5
|
| |\|
| |
| |
| |
| | |
* commit '6c6f7539377ec779a9ea36bfcc5859ad41f6e677':
Add 64bit large object support
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add HAL hooks for filling in LO fields.
Change-Id: Ib9bdee714a062de519d2a9708c1016404a1b11a4
Conflicts:
driver/rsdBcc.cpp
driver/rsdCore.cpp
rsAllocation.h
rs_hal.h
|
| |\|
| |
| |
| |
| | |
* commit '16bbe7cbad7731fed3721a4a6e6691be90d9f104':
Pass context creation flags to driver init.
|
| | |
| |
| |
| | |
Change-Id: I08806939c0fdaf87ff234a78f7f309d0d0dc548c
|
| |\|
| |
| |
| |
| |
| |
| | |
mode."
* commit '05469137d372647e1de914eb0d68fa38c2c2a6ee':
Add error check when init RS thread in sync mode.
|
| | |\ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
RS should return false and stop further waiting when it failed to init RS thread,
otherwise it will cause RS caller ANR errors.
Update destructor function for the exception handling accordingly.
Change-Id: I80a946e6be6b23cc93388b5f56d58ad6dc809d8b
Signed-off-by: Xiaofei Wan <xiaofei.wan@intel.com>
|
| |\| |
| | |
| | |
| | |
| | | |
* commit '033786bd9fb7d7ffbf0ffdf120d8f541c59477cf':
Fix potential deadlock caused by RenderScript
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If the context is created with RS_CONTEXT_SYNCHRONOUS flag,
there is no thread to join.
Unfortunately, deadlock can occur if mThreadId has a
joinable thread ID since mThreadId is uninitialized.
Change-Id: I0315237a41d3ca33f0aa691c7de1ae29d2c02b57
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | | |
legacy graphics."
* commit '73056923235f220426717926b8eea31350083872':
Disable acceleration when the context is legacy graphics.
|
| | |/
| |
| |
| |
| |
| | |
bug 13728313
Change-Id: I63d8a352cc6d44f1b87ba5ded7f95b297f512e92
|
| |/
|
|
| |
Change-Id: I38a5e58da6069940b1715f95cb0943eeceeb7c61
|
| |\
| |
| |
| |
| | |
* commit 'b64224c24146014af3bda6a8b8c6ef0ec5781845':
Work-around 64bit build issues.
|
| | |
| |
| |
| |
| |
| | |
Log errors and abort as a temporary work-around for 64bit support.
Change-Id: I7f6b483d671189bd12ae0ef79515fcdd871eba17
|
| | |
| |
| |
| | |
Change-Id: If1ec99d0dbcf7aebf9d90d7779bf3ff34a8963f2
|
| | |
| |
| |
| | |
Change-Id: Ie4a5e35f11da6f26dca273d79462952b0e3722c1
|
| | |
| |
| |
| | |
Change-Id: If1ec99d0dbcf7aebf9d90d7779bf3ff34a8963f2
|
| |/
|
|
| |
Change-Id: I099c00c645d19e5c8f538b4a995af4f3f80e135a
|
| |
|
|
|
|
| |
bug 10427951
Change-Id: If3b9337712bd16655de4a42ccf829bbcd9e01b6e
|
| |
|
|
|
|
|
| |
ANativeWindowBuffer is not available in the NDK, so make it opaque.
This also fixes a broken merge of mine.
Change-Id: I6f07776ec2b6b147edd9e70646d71581d01a93a6
|
| |\
| |
| |
| | |
Change-Id: I8dbcf6f11bebb97d31c0a95c01c5a3238c1a7f63
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 10315692
This change also allows us to remove the dependency on libcutils for the
compatibility library. The implementation is the exact version that is in
libcutils.
Change-Id: If285962d6631cf9ca1030718c436e122f9be1d4f
|