0370aee66c205e91252621c48975bf284723267e |
|
22-Mar-2017 |
I-Jui (Ray) Sung <ijsung@google.com> |
resolve merge conflicts of 138bc67d to master Test: m, RSoV LIT tests and RSoVTest on Angler Change-Id: Iba9583c469359517ffd6534bcab6a6c06e5f87c7
|
c2f647a6c790cb1f4c86e50506c53cd912e725f6 |
|
04-Mar-2017 |
I-Jui (Ray) Sung <ijsung@google.com> |
Compiler and runtime support for global allocation metadata On the compiler side, enumerate used global allocations, assign each used global allocation a unique ID, and record the mapping in an OpString in the result SPIR-V code. The ID is the index of the metadata for the global allocation. On the runtime side, added a new RSoVBuffer for metadata, and with code marshaling them for the kernel according to the mapping reported by the compiler. SPIRIT is linked against the driver for extracting metadata out of the SPIR-V module. Added a new testcase for global allocation metadata in RSoVTest. Bug: 30964317 Test: RSoVTest on Angler, RSoV LIT Tests Change-Id: I66b3cfa8b66ee2b60b984320900dbe2dc3d15f21
/frameworks/rs/rsov/driver/Android.mk
|
6d37f4e24c41dc9d345e9d8f525277b454c2ca3d |
|
09-Mar-2017 |
Miao Wang <miaowang@google.com> |
resolve merge conflicts of 9e47bc9b to master Test: mm Change-Id: I6275179742eaaea8fe3884862305730aaf98fb0e
|
f750c530392a2895cb4b7e5b5e5e5259925b2015 |
|
04-Mar-2017 |
Miao Wang <miaowang@google.com> |
Implement USAGE_IO_INPUT related functions on top of NDK. - Use AImageReader and AImage as the BufferQueue consumer. - Bump RS_HAL_VERSION to 200 to prevent old GPU drivers to load, as the structure of rsAllocation.h is modified. It is no longer safe to allow the legacy drivers to access Allocation objects via out-of-date header. Bug: 34396220 Test: mm, CTS tests pass. Change-Id: I0c9df2990ad4842719a24e23e69e007059e1c776
/frameworks/rs/rsov/driver/Android.mk
|
55891a72bed0d2731e355803402b0f89229ced89 |
|
14-Feb-2017 |
Mathias Agopian <mathias@google.com> |
fallout of splitting rect.h out of libandroid. Some makefiles didn’t specify libui but included headers from it directly. It works because these headers are on the global include path. With this change, though, rect.h is not anymore (albeit exported from libui). Test: built and booted device Bug: 35164655 Change-Id: Ifdd2e8a75601856bf8bcb76fcf16b3f099ce2bdd
/frameworks/rs/rsov/driver/Android.mk
|
863237215cab4812df373b63ba3bbf2bc1d8647d |
|
20-Jan-2017 |
Jean-Luc Brouillet <jeanluc@google.com> |
Cleanup makefiles and warning producing code. Many entries in our makefiles are not needed: - LOCAL_CPPFLAGS += -fno-exceptions is the default - LOCAL_MODULE_TARGET_ARCH_WARN is obsolete - LOCAL_CXX_STL:= libc++ is the default - LOCAL_MODULE_TAGS := optional is the default - LOCAL_IS_HOST_MODULE := true is the default if we're using $include(BUILD_HOST_*). This can't be removed for the generated subdirectories however without triggering a bug in Ninja. - Removed the -ldl where not needed. - LOCAL_CLANG is no longer needed. Added -Werror -Wall -Wextra to a lot of targets and cleaned up the code that created errors. Removed some hacky code that would prevent tests/java_api from being compiled except under special cicumstances. Corrected some LOCAL_MODULE_TAGS that should have been set to tests. Cleanup warning producing code. Bug: 34265954 Test: Compiled the code. Test: Ran the cpp test, imageprocessing_jb, and cts Change-Id: I27da19b18a6c0ac3686bb8c93681e3d870d587fe
/frameworks/rs/rsov/driver/Android.mk
|
a2306b660ee5adeb8c3b506f1f70e2e3b76bee63 |
|
06-Jan-2017 |
Yang Ni <yangni@google.com> |
Removed unnecessary dependencies from RSoV driver build Bug: 30964317 Test: RSoV Test Change-Id: Ic6ec4b2671c2cc460f9d84ec8e4e4d984a0c9e9a
/frameworks/rs/rsov/driver/Android.mk
|
f15ce3de10aa8edf30d9c2dca60237a3d24eddcc |
|
06-Dec-2016 |
Yang Ni <yangni@google.com> |
Allocation implementation using buffers Bug: 30964317 Test: lit tests and RSoVTest Change-Id: Ib7be067638c781c989a2723072c4eae865bfe515
/frameworks/rs/rsov/driver/Android.mk
|
ffa85366645c163dd529644ba5b8950c4c588d20 |
|
13-Dec-2016 |
I-Jui (Ray) Sung <ijsung@google.com> |
Initial multi-kernel support This change adds multi-kernel support, with localized kernel function types, argument types and OpEntryPoints. Also emit type and metadata for each kernel. OpEntryPoints now have the string literals of RS kernel names. Some SPIR-V names are still shared, notably the global_invocation_id. This doesn't seem to affect correctness per our current tests. On the device side, the RSoV driver has been updated to use actual kernel names instead of hardcoded "main". Also added testcases in both LIT and RSoVTest. Test: RSoV LIT Tests, RSoVTest on angler Change-Id: I09936e69d9f19d21c5727430cb19414b508496bd
/frameworks/rs/rsov/driver/Android.mk
|
75f0d3110b04346b901771f96ce15cdbe907278f |
|
11-Nov-2016 |
Yang Ni <yangni@google.com> |
Initial driver for RSoV (RenderScript over Vulkan/SPIR-V) Bug: 30964317 Supports the following: * Allocations of 32-bit integers and floating point numbers and vectors * Single-input single-output kernels * Co-existence of RSoV scripts and CPU intrinsics Added default .clang-format for driver code using Google C++ code style. The RSoV driver is loaded, if and only if the property debug.rs.rsov is set to non-zero. Test: RSTest and CTS with debug.rs.rsov set to 0; and RSoVTest with debug.rs.rsov set to 1. Change-Id: If63370a502d499e8fc5f4bbd2e90ce84b167c331
/frameworks/rs/rsov/driver/Android.mk
|