summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-20Merge "Notify drivers when user get a pointer to allocation" into mnc-devJason Sams
2015-05-19Added in wait for attach context flag.Stephen McGroarty
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> (cherry picked from commit d5164d537c84867880694327727b5f22b0a3ccbd)
2015-05-19Adapt update_rs_prebuilts.sh to new SDK layoutPirama Arumuga Nainar
The structure of SDK prebuilts has changed. The files go into lib, lib64 or bin subdirectories in prebuilts/sdk/tools/<OS>. Adapt update_rs_prebuilts.sh to this layout. Currently, lib/ has just the 32-bit version of libc++.so Change-Id: I11fc114ee0c888f2c54cb92db9e5084ca921fba5 (cherry picked from commit 9b0ec105175dc668cf4f373bdccc74f465fcb831)
2015-05-19Merge "Fix cache path initialization and set." into mnc-devJason Sams
2015-05-18Fix cache path initialization and set.Jason Sams
Add null terminator to strings Return nullptr if string is not set bug 20894664 Change-Id: I33f5d84d56f6299558f5d8713694e40afc82dd20
2015-05-18Fix problems with allocation destructionJason Sams
Cancel rather than try to queue the buffer queue to avoid deadlocks on exit. bug 20894664 Change-Id: Ie6375e67af66069472361ea4da9c111e19090684
2015-05-18Notify drivers when user get a pointer to allocationJason Sams
Requested by vendor for driver bring-up. bug 20894664 Change-Id: I7a1540236e557ef42ffde1c832b5d5ef36b91c96
2015-05-15Don't use TEMP_FAILURE_RETRY on close in frameworks/rs.Elliott Hughes
Bug: http://b/20501816 Change-Id: I63a7c690bc5bde3dc1354f6e04ad8d32b3b43015 (cherry picked from commit 2df576745c52a04a42d615f83b03f19d803b7757)
2015-05-14Merge "Generate global info for fused kernel" into mnc-devYang Ni
2015-05-13Merge "Let vendor drivers access global-variable flags" into mnc-devPirama Arumuga Nainar
2015-05-13Merge "Add USAGE_OEM" into mnc-devJason Sams
2015-05-13Generate global info for fused kernelYang Ni
b/21114118 Change-Id: I6332572f2f2e6f7857a50bf503e73984371cfe0b
2015-05-13Add USAGE_OEMJason Sams
Allow OEMs to pass data from other HW blocks via internal extension. bug 20894664 Change-Id: I78c19f5eec462aff7d8a5408f2f16cfc9b78c036
2015-05-13Let vendor drivers access global-variable flagsPirama Arumuga Nainar
bug 20894664 Expose flags for embedding global variables and skipping constant globals in rsd_cpu.h. This allows vendor drivers to query or set these flags. Change-Id: I5c45355fb9254103ca8b0fa539edb691e6029ec7 (cherry-pick 5cb19fd40ad3225005f65b6960c875746c2136b9 from AOSP)
2015-05-12Fixed CTS failureYang Ni
b/21040553 ScriptGroupTest.Builder2InvokeToKernelDependency failed. Needs a copy of the FieldPacker object for invoke parameters, which was passed in as a copy by JNI and released after the closure is created. Change-Id: I092fe029394ed898dc66e5ecdbbd86c416abe46b
2015-05-11Merge "Define constants for kernel or script group limits" into mnc-devYang Ni
2015-05-11Add /system/vendor/{lib|lib64} to linker argsPirama Arumuga Nainar
Add vendor-specific lib directory to ld.mc's library search path. Since ld.mc takes multiple search directories, there is no need to derive a single path at runtime. bug 20894664 Change-Id: Id62d2acbd94914c70bf4668f553a94a33e2a0587 (cherry-pick 682672e36b05349bc4d9dee74e9fab73ce804183 from AOSP)
2015-05-11Merge "remove dead code (ALOGE) in rsCpuIntrinsicBLAS.cpp" into mnc-devMiao Wang
2015-05-11remove dead code (ALOGE) in rsCpuIntrinsicBLAS.cppMiao Wang
bug: 21028875 Change-Id: Ia2d85a265f6e4a2617373f99b5c7bdc3810a7f24
2015-05-11Define constants for kernel or script group limitsYang Ni
b/20728113 Limits on number of arguments in a kernel, args and global bindings in a closure, and closures in a script group. Change-Id: I231c0d20c41ee53342d8a975c2db5a31854b9d40 (cherry picked from commit f2a17044f4f3a749b6325f3e998577a93fc6c84d)
2015-05-07Add RSGlobalInfoPass information to RS driver.Stephen Hines
Bug: 20306487 This change enables vendor drivers to configure support for including additional information about global variables in the emitted CPU code. This information includes the number of total global variables, the names of these variables, the addresses of these variables and the sizes of these variables. The driver can also select whether the information includes constant (immutable) globals or not. The reference driver defaults to embedding information about each of the existing, non-constant global variables. Change-Id: I1e55fc3f08e518f04eeee3e4f9dc7b6ea3b80d7c
2015-05-07Add a way to link against different driver names.Jason Sams
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. bug 20894664 Change-Id: I0c4a4f12f5db819b234952bc8f364ac6300f147b
2015-04-30Merge "fix the CHER, CHPR, ZHER, ZHPR crash due to incorrect param order." ↵Miao Wang
into mnc-dev
2015-04-29fix the CHER, CHPR, ZHER, ZHPR crash due to incorrect param order.Miao Wang
Change-Id: If91cbf969c75e01afc6d93b204bc8167180c9ef9
2015-04-30Merge "fix RsBlas_xgemv and RsBlas_xgbmv crash. (typo)" into mnc-devMiao Wang
2015-04-29Merge "SetError if forEachMtlsSetup fails sanity check" into mnc-devPirama Arumuga Nainar
2015-04-29SetError if forEachMtlsSetup fails sanity checkPirama Arumuga Nainar
bug 19866850 Explicitly set error when a kernel launch fails. Change-Id: If42419f3cf7557c524afc5bb27a0753460ca7e4e (cherry-pick 80afd424b02291e6f088cab2961537c7ba1ee2a5 from AOSP)
2015-04-29Handle older structure sizes by zeroing new fieldsPirama Arumuga Nainar
Bug 19734267 Bug 19866850 Prior fix handled only rsForEach calls from a script. It is not sufficient, as launch options in support library also will also use old structures. Apps compiled for support library still run in native mode when available, thus necessitating this fix. This fix copies and extends the input in ScriptC::runForEach instead of rsrForEach. Change-Id: I3bb2527eadcbcdb85a76a1f5568269bbfdee972b (cherry-pick of 9479e5bf0152ecff022cd374e2e80905f88b1a5d from AOSP)
2015-04-26fix RsBlas_xgemv and RsBlas_xgbmv crash. (typo)Miao Wang
Change-Id: Ia948afa2bc4af22f99323618738d5eb7d415ca97
2015-04-25am 995642fe: am 28af516b: am 3682d65a: Merge "Update documentation generator ↵Jean-Luc Brouillet
to work with the Documentation system." * commit '995642feedc8009ebad48a35210e43740401166e': Update documentation generator to work with the Documentation system.
2015-04-25am 28af516b: am 3682d65a: Merge "Update documentation generator to work with ↵Jean-Luc Brouillet
the Documentation system." * commit '28af516b7c7b3151eb76a35d98513b184de6af73': Update documentation generator to work with the Documentation system.
2015-04-25am 3682d65a: Merge "Update documentation generator to work with the ↵Jean-Luc Brouillet
Documentation system." * commit '3682d65aaab94b7b2dd259a4c547e14dbaf79e09': Update documentation generator to work with the Documentation system.
2015-04-25Merge "Update documentation generator to work with the Documentation system."Jean-Luc Brouillet
2015-04-24Update documentation generator to work with the Documentation system.Jean-Luc Brouillet
Also added this flag to the generator: -H Now that we generate by default .jd files rather than .html files, you can use this flag to revert to generating .html files. This is useful when verifying doc changes locally. And modified the -v flag to specify the API level for all file generation rather than just the testing files. Change-Id: Ic9e35ad6779b9fbc6b23228dded2e2be864393ff
2015-04-23am 3b56545a: am 146c9828: am a8e75801: Merge "Updated script group tests"Yang Ni
* commit '3b56545a4c6d5ecb835d338aef4d1f4b5354d602': Updated script group tests
2015-04-23am d502ed1d: am 449ca5f4: am 38014b1e: Merge "Tweak arguments to ld.mc"Pirama Arumuga Nainar
* commit 'd502ed1dda3a48a297e6f05f8a0bd2b96974d07f': Tweak arguments to ld.mc
2015-04-22am 146c9828: am a8e75801: Merge "Updated script group tests"Yang Ni
* commit '146c9828954362c0416f2a027c0a2d51b585b01b': Updated script group tests
2015-04-22am a8e75801: Merge "Updated script group tests"Yang Ni
* commit 'a8e7580150ed70f2284af223a38d29e79860d6ea': Updated script group tests
2015-04-22Merge "Updated script group tests"Yang Ni
2015-04-22Updated script group testsYang Ni
Change-Id: I362910c115e9d0173dc515674e08bf4878232879
2015-04-22am 449ca5f4: am 38014b1e: Merge "Tweak arguments to ld.mc"Pirama Arumuga Nainar
* commit '449ca5f4ff7e40ccecc5d440dc295fb34f8a9f3a': Tweak arguments to ld.mc
2015-04-22am 38014b1e: Merge "Tweak arguments to ld.mc"Pirama Arumuga Nainar
* commit '38014b1ee631ee61e457b850138d3ea6eb73cb1b': Tweak arguments to ld.mc
2015-04-22Merge "Tweak arguments to ld.mc"Pirama Arumuga Nainar
2015-04-22Merge "Updated script group tests"Yang Ni
2015-04-21am 8b14c01d: am f3f37458: am 34ed0a0a: Merge "Handle error case when yylex() ↵Yang Ni
failed to parse." * commit '8b14c01df98d687edfbace5462cb720f555eb95f': Handle error case when yylex() failed to parse.
2015-04-21am 38ea8a1d: am 7edd03e1: am 183a1750: Merge "Code cleanup: Remove unused ↵Yang Ni
rs_native.spec." * commit '38ea8a1d17d47e15deea31a768547677d944ee17': Code cleanup: Remove unused rs_native.spec.
2015-04-21am db2e8be1: am ee00af67: am fccca44a: Merge "Code cleanup: Remove unused ↵Yang Ni
typedefs and declarations." * commit 'db2e8be1363c898c81f60d7293ed9671d55fbd04': Code cleanup: Remove unused typedefs and declarations.
2015-04-21am f3f37458: am 34ed0a0a: Merge "Handle error case when yylex() failed to ↵Yang Ni
parse." * commit 'f3f3745834f3260476273b92a8793519846031ff': Handle error case when yylex() failed to parse.
2015-04-21am 7edd03e1: am 183a1750: Merge "Code cleanup: Remove unused rs_native.spec."Yang Ni
* commit '7edd03e1423cb5e19d0dc128f120de2c5fed2494': Code cleanup: Remove unused rs_native.spec.
2015-04-21am ee00af67: am fccca44a: Merge "Code cleanup: Remove unused typedefs and ↵Yang Ni
declarations." * commit 'ee00af67cd2c6e7ffac15953320baa684a87d800': Code cleanup: Remove unused typedefs and declarations.