Skip to content

Fix ztensor_slice_dim4 invalid-layout error message#74

Open
k8ika0s wants to merge 1 commit into
IBM:mainfrom
k8ika0s:qe/issue-05-slice-dim4-error-message
Open

Fix ztensor_slice_dim4 invalid-layout error message#74
k8ika0s wants to merge 1 commit into
IBM:mainfrom
k8ika0s:qe/issue-05-slice-dim4-error-message

Conversation

@k8ika0s
Copy link
Copy Markdown

@k8ika0s k8ika0s commented Apr 15, 2026

Fixes #44

Summary

  • Fix ztensor_slice_dim4 invalid-layout error message.

Why

Changes

  • Implemented on branch qe/issue-05-slice-dim4-error-message.
  • Includes code and tests scoped to this issue.

Validation

  • s390x integrated battery pass recorded in artifacts/final-validation-20260212T173158Z.
  • Targeted regressions for this scope were validated during branch prep.

Notes

  • DCO signoffs are present on branch commits.

What: Report the pre-transformed layout (not transformed layout) in ztensor_slice_dim4 invalid-layout diagnostics.

Why: Incorrect error wording misleads integrators and slows down debugging of layout misuse.

Expected impact: Clearer, correct diagnostics with stable regression coverage.

Tests: assert error message content (tests/testDriver_slice_dim4_error_message.c).
Signed-off-by: Kaitlyn Davis <k8ika0s@gmail.com>
Signed-off-by: Kaitlyn Davis <kaitlyn.davis@ibm.com>
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.

[BUG] Fix ztensor_slice_dim4 Invalid-Layout Error Message (Report Pre-Transformed Layout)

1 participant