Skip to content
This project is mirrored from https://review.mlplatform.org/tosa/reference_model. Pull mirroring updated .
  1. May 01, 2025
  2. Apr 30, 2025
    • Ian Tayler Lessa's avatar
      Relax INEXACT_ROUND conformance · ee3475b8
      Ian Tayler Lessa authored and Jeremy Johnson's avatar Jeremy Johnson committed
      
      
      Update the bounds calculations to account for floating point rounding
      when summing the output zero points in rescale.
      
      Also add some unit tests for inexact rescale in the output_unsigned case
      because the "signless" input value could easily be interpreted
      incorrectly when converting to floating point.
      
      Signed-off-by: Ian Tayler Lessa's avatarIan Tayler Lessa <ian.taylerlessa@arm.com>
      Change-Id: Ia2b1fba90162b78772ce15c2f4fc3a521967b4b4
      ee3475b8
  3. Apr 29, 2025
  4. Apr 28, 2025
  5. Apr 25, 2025
    • Michael Platings's avatar
      Fix incompatibility with CMake 4 · 1574d2e8
      Michael Platings authored
      
      
      cxxopts 2 is incompatible with CMake 4 so upgrade to 3.2.1
      
      The latest version of doctest is still incompatible with CMake 4 so
      patch the sources to make it compatible.
      The patch command used is not pretty but it's pure CMake so doesn't rely
      on any other tools being installed.
      
      Signed-off-by: Michael Platings's avatarMichael Platings <michael.platings@arm.com>
      Change-Id: I563d93004f73ef0e1cf7de740e7159c4aeaea1dc
      1574d2e8
  6. Apr 24, 2025
  7. Apr 23, 2025
  8. Apr 22, 2025
  9. Apr 16, 2025
  10. Apr 15, 2025
  11. Apr 14, 2025
    • Jeremy Johnson's avatar
      Make stable random test generation default · bf479d78
      Jeremy Johnson authored
      
      
      Remove global random number test generation as not needed anymore,
      now that all tests have migrated to the new RNG.
      
      Fix concat pytest that broke due to removing global random number
      gen.
      
      Signed-off-by: Jeremy Johnson's avatarJeremy Johnson <jeremy.johnson@arm.com>
      Change-Id: I95646ea799c07034cb730fa7be01392320c09044
      bf479d78
    • Jeremy Johnson's avatar
      Fix lazy data gen mode for CTS · e7f38ec8
      Jeremy Johnson authored
      
      
      Enable lazy_data_gen mode support for all CTS tests in
      tosa_verif_conformance_generator
      
      Add support for reading SHAPEs of [0] in ref model.
      
      Change datagenerator to use serialization_lib save_npy to
      write out data files in correct format.
      Fix SHAPE to be output as int64 numpy format.
      
      Clean up unused data generator functions in tosa_verif_build_tests
      
      Add datagenerator tests for numpy format output.
      Merge test_datagenerator.py tests into test_tosa_datagenerator.py
      
      Disable cond_if_const test generation is lazy_data_gen is
      requested as the work-around for loading const data late does not
      work with these tests - some proper functionality to support lazy
      data gen is needed.
      
      Signed-off-by: Jeremy Johnson's avatarJeremy Johnson <jeremy.johnson@arm.com>
      Change-Id: I9e18c960fbd636463ddf9e0bc2bf6f2ac9a760f5
      e7f38ec8
    • Jeremy Johnson's avatar
      Fix minor coverity issues in tosa tools · d5599293
      Jeremy Johnson authored
      
      
      Signed-off-by: Jeremy Johnson's avatarJeremy Johnson <jeremy.johnson@arm.com>
      Change-Id: I62eee00683873a589393ef0bf413663a1a28042d
      d5599293
  12. Apr 10, 2025
  13. Apr 08, 2025
  14. Apr 03, 2025
    • Michael Platings's avatar
      Remove third party submodules · 7248fd88
      Michael Platings authored
      
      
      Instead use CMake's FetchContent feature.
      
      Git submodules have many well-documented pain points.
      
      A similar change has previously been attempted but was reverted by
      revision 2d87391f because FetchContent's
      git-clone was found to occasionally fail for no discernable reason.
      The difference with this change is that it downloads source archives
      instead of cloning Git repos. This is believed to cause less load and
      therefore reduce the likelihood of getting rate-limited.
      Should failures start to occur again then the sources should be
      pre-downloaded and FETCHCONTENT_SOURCE_DIR_<uppercaseName> CMake
      variables should be used to point at them.
      
      Signed-off-by: Michael Platings's avatarMichael Platings <michael.platings@arm.com>
      Change-Id: I12873b540b3fccece6e1e6bb885d574a586f0307
      7248fd88
  15. Apr 02, 2025
Loading