Age | Commit message (Collapse) | Author |
|
min(float2/3/4, float) and max(float2/3/4, float) were defined in our
headers in K. In L, they were removed by mistake. This continued to
work however because a float would be auto converted by the compiler to
a float4.
In M, we started validating for unexpected external references, which
_Z3minDv4_ff is. This can prevent programs compiled with K from running
on M.
This CL restores the declarations. Corresponding CLs will fix the whitelist
and add CTS tests.
Bug:23389429
Change-Id: I3f91830a14b7e01cf1b6ea954fa6dd2fc9d71286
(cherry picked from commit 7cf263d593c057af8da8d57025e7315c4ed21ea2)
|
|
Bug: 21647353
Change-Id: I8ae79f32878f2a9c522f19b7f5d9ed47d58165ab
|
|
Rename ctxt to context to be consistent with documentation and our coding
standards that asks us to eschew abbreviations.
b/21647353
Change-Id: Ic8c1c2720276aae60c5d2e3782f4336488ecb61e
|
|
Intializes the arrays to a non-zero value to help diagnose what is causing
the 0 return bug, i.e. is a zero found in b/22556317 because the buffer is
not copied or because it is copied and all null?
Also reports all the failures instead of stopping after the first one.
See b/22556317
Change-Id: I5ad769616f120a847eebe1386c726daacb831fc7
|
|
Bug: 22693954
Change-Id: Ibfc46acf2a23e711b9f4c8236bff4d7c9f8acb43
|
|
and dlsym.
bug: 22700067
bug: 22693954
Change-Id: I3ade3ad2802f3b8e5fc5661319b98a6212e6d8a2
(cherry picked from commit e941f18202b9c9883ff81c63710f7faec5c988e4)
|
|
Bug: 22693954
This change fixes update_rs_prebuilts.sh to build for arm64 as well. It
also makes some changes to RSTest_CompatLib for working on arm64 (i.e.
removed APIs, etc.). The old version of RSTest_CompatLib is retained as
RSTest_CompatLibLegacy, but it is disabled from building due to errors
with mma and FORCE_BUILD_RS_COMPAT. We also now need to ensure we
properly build all the required libraries (both .so and .a files).
Change-Id: If89b8a542eb0d61db0ba186d4e3221bcc6e5664b
|
|
Bug: 22530323
The build rules for the debug context don't allow the SSE optimized
versions of some functions to be used. Since we bundle all of these
functions into a single file, this results in the debug runtime missing
some symbols (clamp, length, dot, sqrt). This change ensures that the
debug runtime for x86 gets the generic definitions of these functions
instead of dropping them completely.
Change-Id: Idedfbb5c1badf0b88530a7e926dda6141443ea1f
(cherry picked from commit a673fb0db28eac2300fcfa04549138c1c9202014)
|
|
sure we don't miss SIMD path if there is one.
bug: 22560549
Change-Id: I8c8841ba9924ee28ae56be8b3c66c50b5badf796
(cherry picked from commit 5d70cb591d78d62d10839a52302ec9087c6f3350)
|
|
access." into mnc-dev
|
|
GetCpuInfo() was reading /proc/cpuinfo into a string without properly
null terminating the result. The resulting unterminated string was
being passed to strstr().
Change the code to read the file with fgets(), which ensures the
result is null terminated. Also, document the GetCpuInfo() function
and the global variable that it sets.
Change-Id: I041331fdc25d79217ff7c1bf36a4aff2be8e0192
(cherry picked from commit 11fd9ec1ab8dfa7ae45c6edeea48dddc4633efea)
|
|
Bug: 22047392
This function needed to assign the 'w' component (alpha channel) of the
source input to the output. This patch does that for the C++ code, but
needs to be updated for the inline assembly that we have for
NEON/ASIMD/SSE. For the time being, we can just disable those paths.
Change-Id: Iaac02ae2d2cb670d299446d5a017d518c0e303da
(cherry picked from commit 820e22b13fb48bc4719fa606ee4bc47e184970e0)
|
|
|
|
|
|
bug: 22184114
Change-Id: I6ec212f8d5feb46fc9d0f97862b206978af1675b
|
|
|
|
bug: 22199404
Change-Id: Idd4c3594ef5208f78b946378194d2e31c6af1e0e
|
|
bug: 21902810
Change-Id: Icf4e90721a3c33271a03d61dcd86e0ab3ec8ffde
|
|
b/21949580
Writing different contents to an existing .so file, which is currently
open, may corrupt its globals and code. Choose a different file name
instead.
Change-Id: I3e649b09a55b43339283aa1c46f2844c66434c17
|
|
Bug: 20894664
The system partition is read-only, and can/should be compiled correctly
during the offline creation of the system image. Since we cannot replace
these precompiled blobs (short of app update/OTA), there is no reason or
correct way to validate/replace the checksum.
Change-Id: Ia66bfdbe178bf215e146c3699f5bc7804222e978
(cherry picked from commit 6a236ad3a3760e8124b68a1b6220ed6e4fbfb152)
|
|
Bug: 20894432
Permit partner drivers via Context::setDriverName to choose their
own mDriverName rather than the default OVERRIDE_RS_DRIVER string.
This can only be done once from within rsdHalInit otherwise it will
be ignored and the default behaviour will apply.
Change-Id: I49b81e60f7983a81f0e71fbef4b46f9bfc834849
(cherry picked from commit b268abd5528936d13a85b03f44458fe3a55cafad)
|
|
b/21958851
bcc expects kernels chained up via input and output.
Check this in the runtime before passing ScriptGroup to bcc for
compiler fusion.
Change-Id: I6004d577410ea1684f5043babadc1e1b885c4f6a
|
|
|
|
Generate the file used in libbcc to verify that all the unresolved
references found in a loaded script correspond to RenderScript
APIs. We do this to prevent script from accessing functions they
should not use, e.g. malloc().
We also generate slang test files for each API level. These tests
can be used to cross-validate the generator to make sure that all
APIs can be called. These files can also be used to manually check
the white list by looking at the unresolved external references
when these files are compiled.
b/19425238
Change-Id: Idd4bd48e61e81a71d61445e60950bc79de88daf2
(cherry picked from commit 36090673baf50cf3c70bdc89f9a4a872c05cf0f6)
|
|
Bug: 21787806
In function DeriveYUVLayout in fw/rs/driver/rsdAllocation.cpp, skip
initialization of DrvState if the yuv format is the flexible YCbCr
format.
Change-Id: Ie2c5253b2ed048887d034ad8793d0558f2cd7d4f
|
|
|
|
BTW, I had tried to use <a id=''> instead of <a name=''> to be HTML5
compatible. This does not work with the current default.css file.
Change-Id: I07b4273a0f9dabead668baf6b25dfac41021ab98
(cherry picked from commit 918944e41306198807728ae3f05a1799773895c5)
|
|
We allow also a custom deprecation message.
b/19912630
Change-Id: I297bed611c7fbbb34d41e7edd796557c9afe50da
(cherry picked from commit 36e2be56cd398bf4a318114bbc9fa3f4573c158f)
|
|
|
|
Mark the graphics APIs as no longer available starting with version 23.
Modify the generator to change the #ifdef guards around the API to
enable internal code to still access the obsoleted APIs, as we still
neeed to support them at runtime.
Also, include a documentation change in the rs_convert header file that had not
been included previously.
b/19001259
Change-Id: Iaad4833f504da9aa9f5069a977c37b86d1316d3a
(cherry picked from commit 67923a9e829d89522bb5338a6d635d807a7ee59b)
|
|
|
|
Change-Id: I29e7bd894a79e89eba4f8f663daecaccb1467b6c
(cherry picked from commit 45c5f4be5d0215a30be1051420e083a49912c5ac)
|
|
b/13186099
Change-Id: Ia5f34d50c0ba6db1f07bee62b50a6a00421a9f74
(cherry picked from commit f1001ad7dea3814e499cf28e6d0d95852244edc6)
|
|
b/21813354
Change-Id: I948396ffd44896a1d84f5ee16b4222f4a0d6f67d
|
|
b/21028875
Change-Id: I600955599ac2fd0da13141ee6785578e51e5f372
|
|
- Currently has 8bit GEMM and SGEMM tests
- Both tests are using 3 different data size: Small, Medium and Large
- For Large tests, the input data is actually data used by Neural
Network.
b/21028875
Change-Id: I504883240a442074d2e9b62c42b9c376362eff5e
|
|
Bug: 7342860
Change-Id: I25c6e1a9102cb193ed47f7d0c87f5948f59b8036
(cherry picked from commit 6119da9273f88e838b2e8648bde0d40fabe51f5f)
|
|
Bug: 7342860
Add conversion functions, clamp to the C files. Add rsGetElementAt,
rsSetElementAt to ll*/allocation.ll
Change-Id: I71c93029699f9bbc79a5b04b51074e303981ae4b
(cherry picked from commit 2dcbc3d33443c1224085cab081b634f99327c159)
|
|
This reverts commit bfda83d01280847341b05c0ce4908e08b1214cb7.
Change-Id: If323b1f99bc087af08451df778cb4ea1a33c1d2b
|
|
bug: 21028875
Change-Id: Ifb32d53271eb8cf5fe14b50733281224984bde6f
|
|
|
|
b/20894664
Vendor driver may have different layout for the Script object.
Avoid casting mHal.drv but use lookupScript virtual calls instead.
Change-Id: Ie492dd98a435b35843ca222a8430c51ccfc8aea9
(cherry picked from commit 999e6b9ec115be28e1e175f6e1aabfe18969aca8)
|
|
Many small changes. Among them:
- Cleaned up the boiler plate HTML used for -H option to the minimal possible.
- Cleaned line break of the comments to make them more consistent in the
.rsh files.
- Added missing summaries.
- Make the style of argument comments more consistent.
- Fixed missing HTML escaping.
- Fixed generation of the snippets for the .cs file.
- Improved the documentation about the math precision.
- Reworked the documentation of object types.
Change-Id: I8b229720134aac6d46a0a2679e8b58f15be5ed7e
(cherry picked from commit 6386ceb3bf25e442513224aaa45691dfe49562d9)
|
|
bug: 21028875
Change-Id: I6d4aa8973de523aef7ced48105737eb5ee471e5d
|
|
Bug: 20306487
This patch adds some new enums to classify properties (such as "static",
"constant", and "pointer") for global variables. The reference driver
is also extended to provide methods to examine these properties (when
the bitcode is compiled with bcc).
Change-Id: I331756f8a8990caf5ebdf85599060434a7cfdcb7
(cherry picked from commit 5aa018cc36e589b07674957714d27ae3d1fa1c4e)
|
|
Bug: 20306487
Change-Id: Ic83cb04cac153a7556f5d516e8f5ec88b5527b6f
(cherry picked from commit c060f1435e7b9405f3be8974417fa6f410f03753)
|
|
|
|
An upcoming CL fixes a bug where many warning were disabled. This fixes
the warnings (that are turned into errors in most of our builds) before
the CL lands.
Also, adds long & unsigned long testing for a few tests.
Change-Id: Id6826e968db2d06ef9910fe775309d1c3872cdc5
|
|
|
|
A previous version of the library was triggering a Jack bug. It looks
like the code was modified and no longer face the bug.
Bug: 10815986
Change-Id: Ibeb6bc25582a957d9bf07d4761953f5f58d621b8
|