Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling of INF or NAN arguments in S/D/C SCAL #4729

Merged
merged 20 commits into from
Jun 29, 2024

Conversation

martin-frbg
Copy link
Collaborator

fixes #4728

@martin-frbg martin-frbg added this to the 0.3.28 milestone May 31, 2024
@martin-frbg martin-frbg changed the title [WIP] fix handling of INF arguments in S/D/C SCAL Fix handling of INF or NAN arguments in S/D/C SCAL Jun 28, 2024
@martin-frbg martin-frbg merged commit c33bc84 into OpenMathLib:develop Jun 29, 2024
73 of 76 checks passed
markdryan added a commit to markdryan/OpenBLAS that referenced this pull request Jul 16, 2024
The following openblas_utest tests fail when the RISCV64_ZVL128B
core is enabled.

TEST 39/106 sscal:0_nan [FAIL]
  ERR: test_zscal.c:19  should be true
TEST 40/106 sscal:0_nan_inc_2 [FAIL]
  ERR: test_zscal.c:31  should be true
TEST 41/106 sscal:nan_0 [OK]
TEST 42/106 sscal:nan_0_inc_2 [OK]
TEST 43/106 sscal:0_inf [FAIL]
  ERR: test_zscal.c:65  should be true
TEST 44/106 sscal:0_inf_inc_2 [FAIL]
  ERR: test_zscal.c:77  should be true

This commit fixes the issue by porting the fixes made to
riscv64/scal_vector.c in PR OpenMathLib#4729.

Signed-off-by: Mark Ryan <[email protected]>
markdryan added a commit to markdryan/OpenBLAS that referenced this pull request Jul 16, 2024
The following openblas_utest tests fail when the RISCV64_ZVL128B
core is enabled.

TEST 39/106 sscal:0_nan [FAIL]
  ERR: test_zscal.c:19  should be true
TEST 40/106 sscal:0_nan_inc_2 [FAIL]
  ERR: test_zscal.c:31  should be true
TEST 41/106 sscal:nan_0 [OK]
TEST 42/106 sscal:nan_0_inc_2 [OK]
TEST 43/106 sscal:0_inf [FAIL]
  ERR: test_zscal.c:65  should be true
TEST 44/106 sscal:0_inf_inc_2 [FAIL]
  ERR: test_zscal.c:77  should be true

This commit fixes the issue by porting the fixes made to
riscv64/scal_vector.c in PR OpenMathLib#4729.

Signed-off-by: Mark Ryan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dscal: 0 * nannan * 0 and 0 * infinf * 0
1 participant