Commit bea5a505 authored by Xusong Wang's avatar Xusong Wang
Browse files

Test each individual driver in random graph tests.

* Use introspection and control API at NDK level to choose each individual
  device.

* For device support API level >= Q (29), we enforce the check on return
  status and buffer value accuracy. For pre-Q devices, we only need them
  to not crash.

* Define accuracy criteria on buffer values. Define 3 sloppy levels for
  single-operation graph and two additional criteria on small and large
  graph test.

* For debugging purpose, automatically dump the spec file when test fails.

Bug: 129569810
Test: NeuralNetworksTest_static_fuzzing
Change-Id: Id592a73e2b74479a9b03c6231d2d14e09dee6b7f
parent fd8485c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment