History log of /frameworks/rs/api/gen_runtime.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
32c18186ad37029056f09b4041e62b09270ea0e6 29-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> Improve CTS generated tests (rs/api).

Change the way we track the range of allowed values: track
minimum and maximum separately, handle NaN and infinity better,
allow error on input and output.

With these new changes, improve many individual tests.

Instead of setting a global specifying the test expectations,
instantiate an object that contains this info so that parallel
tests won't interfere.

Fix a bug for the rare test that disregards secondary output
when the primary output is NaN.

Change-Id: I9e822191713dd494c03ebe515710bd490463e68b
/frameworks/rs/api/gen_runtime.cpp
93906648166535b090ac9a16c5365f4ddfd360fe 24-Jul-2014 Jean-Luc Brouillet <jeanluc@google.com> Enable custom math verification.

For ilogb(0.0f), we want to allow two possible values. This does
not match the current pattern where the CoreMathVerifier returns
the expected outputs given specified inputs.

This introduces a "custom" test mode where the Test* method calls the
CoreMathVerifier, passing it both the actual inputs and outputs, and
asking these to be verified.

Change-Id: I2e4b0201c93b206e3eb48a6832519f8b827f969f
/frameworks/rs/api/gen_runtime.cpp
d7199f947d92ecf3e18bb383d2cf8cad317282b4 02-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Fix issues in long and double testing.

This does not enable the tests (something for later). This CL also enables the tests for half_recip.

Change-Id: Iec33c69a1295f2978148c8afec62bb297dd6f58e
/frameworks/rs/api/gen_runtime.cpp
46ebc97e1ba04766f23296574ebde52102fbd4be 06-May-2014 Jean-Luc Brouillet <jeanluc@google.com> Fix issues in long and double testing.

This does not enable the tests (something for later).
This CL also enables the tests for half_recip.

modified: gen_runtime.cpp
modified: rs_core_math.spec
modified: ../scriptc/rs_core_math.rsh

Change-Id: If8ef104ab05edfef160a3530283480fd2cd92f3b
/frameworks/rs/api/gen_runtime.cpp
2f281cf74e4d1cdfc4749d1e88252ec8dcf051f3 13-Mar-2014 Jean-Luc Brouillet <jeanluc@google.com> Fixed incorrect max range value for convert tests.

modified: gen_runtime.cpp

Change-Id: I0a240db2d22310937c223a056bff6bc7f297d422
/frameworks/rs/api/gen_runtime.cpp
bcd5b9af756d10317faf54fa3742f89dfacef152 08-Mar-2014 Jean-Luc Brouillet <jeanluc@google.com> Enable more advanced CTS tests.

Add the possibility to make the generated random values for one argument
be dependent on another one. Add the possibility to add precision limits.
Change the way precision of results is verified.

This is a redo of the mess that's CL 84333 and 84332

Change-Id: I6c59ee4588627540b5bf1952adaf70b061ccc025
/frameworks/rs/api/gen_runtime.cpp
46341434b4a766d9dee33a93469564a1de8b0793 22-Feb-2014 Jean-Luc Brouillet <jeanluc@google.com> Multiple improvements to the rs_core_math CTS tests.

Range of possible values can now be specified for parameters.
To enable correct test generation for clamp, can tell that one
parameter should never be less than another.
Implemented many more test verifications. Many are not yet
invoked because we need to change the way error is calculated.
That will be for the next CL.
Improved the random data generation for all types.

Change-Id: Iebb58611b35a2df633829e26d5634d4372c1dfc5
/frameworks/rs/api/gen_runtime.cpp
963c367450cd54403f4e54064da63c35aa7e0178 13-Feb-2014 Jean-Luc Brouillet <jeanluc@google.com> gen_runtime now creates test Java and .rs files for the functions.

Change-Id: I0e420a7009f9a4ec73fbb2d704cd8b10be2644a4
/frameworks/rs/api/gen_runtime.cpp
ea877edd85a9b030fec742491322ee58324b7ae6 10-Jan-2014 Jason Sams <jsams@google.com> Update runtime header generator

bug 5653293

Check in new headers. Will require compiler update
to start using.

Change-Id: Ic21360d4775085356865cb15080f8704120b4f0f
/frameworks/rs/api/gen_runtime.cpp
135c4b747bce5898d98de964d7c453d215254d0d 12-Dec-2013 Jason Sams <jsams@google.com> Runtime spec file and generation

Move to generated headers for the runtime API so we can
track API changes and generate proper comments. Will
also be able to generate coverage tests.

Change-Id: Iec9b7e6d1bd3f7369f4f5ad3383a09dd8e08ef50
/frameworks/rs/api/gen_runtime.cpp