History log of /frameworks/rs/api/GenerateTestFiles.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f8ccbb19e0d3140114f9512bfd685f37089800d1 31-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> For custom tests, initialize double counterpart of Float16 variable

Bug: http://b/27512382

For functions with 'custom' test label, initialize an 'outDouble'
variable which has the 'short' output value 'out' converted to double.
Also, print this converted value in case of error.

Change-Id: Iff4123f2103bb9ccad2028bd170f95ce3ebb8515
/frameworks/rs/api/GenerateTestFiles.cpp
b7841c4b0caf8dfff41a60c5469c0589ed13b190 22-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Initialize Double field for Float16 parameter

Bug: http://b/27512382

Add missing initialization of the Double field corresponding to Float16
parameter to vector parameters when vector size is one.

Change-Id: Ida81ebc6151019df164dede5f769d79d60c32afa
/frameworks/rs/api/GenerateTestFiles.cpp
3b2be14b4f4e1932f4e67c12d691ca85e937d936 29-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Extend test generator to generate tests for Float16

http://b/27512382

Extend the test generator to add a short and double field to the
Arguments class for Float16 parameters. Input short values get
converted to double while initializating the Arguments class and output
short values get converted to double before invoking
Target.Floaty.couldBe().

Change-Id: I9848cb4b2ba7b79c5b77d849a4c48e827d24f64c
/frameworks/rs/api/GenerateTestFiles.cpp
93abc2d8bd168191b9573017d3ac26f1bfc5fc49 17-Feb-2016 Pirama Arumuga Nainar <pirama@google.com> Pass new parameters while generating Target object

http://b/23536224

While generating tests, identify and pass FunctionType and ReturnType
parameters to Target's constructor.

Change-Id: I0e1be6279d21028175571d53a7def7fc197778eb
/frameworks/rs/api/GenerateTestFiles.cpp
12398d81f32e5e0479d02b8608a83c75cd991bb3 18-Sep-2015 Yang Ni <yangni@google.com> Add rsForEachInternal

Bug: 23535985

Added a compiler intrinsic rsParallelFor to the runtime API, which
is translated into an internal API (rsForEachInternal) by slang.

Added a test to RsTest (for native) and RSTest_CompatLib
(for support).

Enhanced the auto api generator to handle ellipsis argument,
intrinsics, internal-only APIs, and special level for API under
development.

Change-Id: I6e2cf3db868f426aa8e0b9a77732b66c1e6b9f03
/frameworks/rs/api/GenerateTestFiles.cpp
0c905c882fb351eb754a630d18339c14392fdbcb 23-Jul-2015 Jean-Luc Brouillet <jeanluc@google.com> Provide better diagnostics on CTS failures.

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
/frameworks/rs/api/GenerateTestFiles.cpp
49736b322c6539016c1a563fe74881b405b350f0 14-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> Move details of variable printing out of the generated code.

This will make upcoming changes to support fp16 and double easier.

Change-Id: I80605771906ae7b9751978fa91795848ef1710ba
/frameworks/rs/api/GenerateTestFiles.cpp
66fea24fb5f3a02b744a9c71ae0fc22c03c4fc6e 10-Apr-2015 Jean-Luc Brouillet <jeanluc@google.com> Fix a small parsing problem with arguments of type rs_matrix2x2, 3x3, 4x4.

Also fix some style issues and added a missing comment.

Change-Id: Ieaca181453f38f948bc2a5e3d183b264d7215413
/frameworks/rs/api/GenerateTestFiles.cpp
7c07854a959eb70ff9623202b2ca064407a1cc68 24-Mar-2015 Jean-Luc Brouillet <jeanluc@google.com> Allow specifications for a function to be found in more than one spec file.

To enable the upcoming change that has rsClearOjbect, rsIsObject,
and rsSetObject in two spec files (core & graphics), we need to change
the generator.

Change-Id: I87925dcbe199f11c217907343455b2e8a7a76ed4
/frameworks/rs/api/GenerateTestFiles.cpp
62e099314bb1831035083a50616024ffa6253bde 22-Mar-2015 Jean-Luc Brouillet <jeanluc@google.com> Shorten the generated test file names.

Also place the generated files in their own directories.

Change-Id: I51c1acf15810ec199d17cc2d6e63adebdc0fc3c9
/frameworks/rs/api/GenerateTestFiles.cpp
c5184e202ced435258adb2cfe2013570e7190954 13-Mar-2015 Jean-Luc Brouillet <jeanluc@google.com> Generate all APIs.

This CL expands the generator to create all the .rsh files, not just
the core_math one. To do so, processing of types (simple, struct, enums)
and constants was added. .spec files corresponding to each .rsh file was
created. Documentation was added.

This CL also generates HTML documentation files. This generation will soon
be upgraded.

To make the code easier to expand, I've done fairly extensive refactoring.

In a subsequent CL, the APIs will be regrouped in different header files to
simplify learning the APIs. In an other, the documentation generation will
be futher improved and incorporated in the actual online help.

Also removes rs_path & related functions.

Change-Id: I2c88554c9c6a8625233772b89e055fc6c4ad5da5
/frameworks/rs/api/GenerateTestFiles.cpp