1. 13 Feb, 2020 2 commits
    • Kokoro: build and run rr::Print unit tests · 29cc2458
      Antonio Maiorano authored
      After the normal build and unit tests run, incrementally build
      ReactorUnitTests with REACTOR_ENABLE_PRINT enabled, and run only the
      unit tests that exercise the print code. This should add very little
      extra time to our Kokoro builds, while ensuring we don't break the
      rr::Print stuff.
      
      Bug: b/149328074
      Change-Id: I26c0db727c8edd269243f17192020a3435893c14
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/41148
      Presubmit-Ready: Antonio Maiorano <amaiorano@google.com>
      Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
      Reviewed-by: 's avatarBen Clayton <bclayton@google.com>
      Tested-by: 's avatarAntonio Maiorano <amaiorano@google.com>
    • Fix rr::Print and add unit tests · 415d1815
      Antonio Maiorano authored
      * CMake: add REACTOR_ENABLE_PRINT to enable rr::Print macros (default 0).
        When enabled, defines ENABLE_RR_PRINT. Formerly, ENABLE_RR_PRINT was
        only defined in NDEBUG builds.
      * CMake: REACTOR_EMIT_PRINT_LOCATION enables REACTOR_ENABLE_PRINT.
      * Add missing includes of Print.hpp.
      * Fix rr::Print compilation of non-const pointers.
      * Fix rr::Print compilation of Int2 and UInt2.
      * Fix rr::Print of Float outputting in square brackets.
      * Fix rr::Print of Bool to output a '1' or '0' for 'true' and 'false'.
      * Add unit tests for rr::Print of all primitive and Reactor types.
      * Includes changes bclayton@ made to output "true"/"false" for Bool,
        and to correctly compare against implementation-specific printf of
        pointers.
      
      Bug: b/149328074
      Change-Id: Ibb17985201f1c2b432539cd1153293d1e1cbb5bb
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/41108Reviewed-by: 's avatarBen Clayton <bclayton@google.com>
      Tested-by: 's avatarAntonio Maiorano <amaiorano@google.com>
      Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
  2. 12 Feb, 2020 2 commits
  3. 11 Feb, 2020 10 commits
  4. 10 Feb, 2020 1 commit
  5. 09 Feb, 2020 2 commits
    • Update Marl to 246091e81 · b2bfc0d6
      Ben Clayton authored
      Includes a fix for a severe race condition, MIPS64 support and tools for comparing benchmarks.
      
      Changes:
          246091e81 Implement support for MIPS64
          2b3e3fe6d Core: Rework fiber scheduling to fix broken behavior.
          a10646182 Add tool to diff benchmarks.
          2c9624c1b Kokoro: Print test output to logs.
          36208b483 Use SAL annotations more aggressively in the scheduler.
          492edc979 Add benchmarks using google benchmark
          32102554d Add new 'hello task' example, add to README.md
          9b860935b CMake: Make the marl target's include directory public
          8cdb1b1f0 CMakeLists.txt: Make it easier to specify third_party vars.
          e25626a8e CMakeLists: Don't repeatedly include MARL_OS_LIBS
      
      Commands: git subtree pull --prefix third_party/marl https://github.com/google/marl master --squash
      
      Bug: b/140546382
      Change-Id: Ide16cac37ce47eb2e8e0d7468f747cf299c749b8
    • Squashed 'third_party/marl/' changes from 14e4d862a..246091e81 · ec288e22
      Ben Clayton authored
      246091e81 Implement support for MIPS64
      2b3e3fe6d Core: Rework fiber scheduling to fix broken behavior.
      a10646182 Add tool to diff benchmarks.
      2c9624c1b Kokoro: Print test output to logs.
      36208b483 Use SAL annotations more aggressively in the scheduler.
      492edc979 Add benchmarks using google benchmark
      32102554d Add new 'hello task' example, add to README.md
      9b860935b CMake: Make the marl target's include directory public
      8cdb1b1f0 CMakeLists.txt: Make it easier to specify third_party vars.
      e25626a8e CMakeLists: Don't repeatedly include MARL_OS_LIBS
      
      git-subtree-dir: third_party/marl
      git-subtree-split: 246091e814658337b22f212c97d0659ea3673c9f
  6. 08 Feb, 2020 5 commits
  7. 07 Feb, 2020 6 commits
  8. 05 Feb, 2020 2 commits
  9. 04 Feb, 2020 4 commits
  10. 31 Jan, 2020 3 commits
  11. 30 Jan, 2020 3 commits