Skip to content

matrix_inf_norm test failing on Kokkos impl #225

Description

@mzuzek

@mhoemmen @fnrizzi
matrix_inf_norm native test fails when executed on Kokkos implementation (with LINALG_ENABLE_KOKKOS_DEFAULT=ON), e.g. see this CI job:

      Start 12: matrix_inf_norm
11/36 Test #12: matrix_inf_norm ......................***Failed    0.01 sec
Running main() from /home/runner/work/stdBLAS/stdBLAS/build/stdblas/_deps/googletest-src/googletest/src/gtest_main.cc
[==========] Running 3 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 3 tests from matrix_inf_norm
[ RUN      ] matrix_inf_norm.mdspan_int
(...)
/home/runner/work/stdBLAS/stdBLAS/src/stdblas/tests/native/matrix_inf_norm.cpp:100: Failure
Expected equality of these values:
  computedTwoArgResult
    Which is: 5
  expectedResult
    Which is: 0
/home/runner/work/stdBLAS/stdBLAS/src/stdblas/tests/native/matrix_inf_norm.cpp:101: Failure
Expected equality of these values:
  computedOneArgResult
    Which is: 5
  expectedResult
    Which is: 0
(...)
/home/runner/work/stdBLAS/stdBLAS/src/stdblas/tests/native/matrix_inf_norm.cpp:100: Failure
Expected equality of these values:
  computedTwoArgResult
    Which is: 11
  expectedResult
    Which is: 0
/home/runner/work/stdBLAS/stdBLAS/src/stdblas/tests/native/matrix_inf_norm.cpp:101: Failure
Expected equality of these values:
  computedOneArgResult
    Which is: 11
  expectedResult
    Which is: 0
(...)
[  FAILED  ] matrix_inf_norm.mdspan_int (0 ms)
[ RUN      ] matrix_inf_norm.mdspan_double
(...)
/home/runner/work/stdBLAS/stdBLAS/src/stdblas/tests/native/matrix_inf_norm.cpp:97: Failure
The difference between computedTwoArgResult and expectedResult is 5, which exceeds tolerance, where
computedTwoArgResult evaluates to 5,
expectedResult evaluates to 0, and
tolerance evaluates to 8.8817841970012523e-16.
/home/runner/work/stdBLAS/stdBLAS/src/stdblas/tests/native/matrix_inf_norm.cpp:98: Failure
The difference between computedOneArgResult and expectedResult is 5, which exceeds tolerance, where
computedOneArgResult evaluates to 5,
expectedResult evaluates to 0, and
tolerance evaluates to 8.8817841970012523e-16.
(...)
[==========] 3 tests from 1 test suite ran. (3 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] matrix_inf_norm.mdspan_int
[  FAILED  ] matrix_inf_norm.mdspan_double
[  FAILED  ] matrix_inf_norm.mdspan_complex_float

See full output: full-out.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions