Skip to content

layout_blas_general does not have an _extents member#305

Merged
mhoemmen merged 2 commits intokokkos:mainfrom
lucbv:fix_layout_bg
May 21, 2025
Merged

layout_blas_general does not have an _extents member#305
mhoemmen merged 2 commits intokokkos:mainfrom
lucbv:fix_layout_bg

Conversation

@lucbv
Copy link
Copy Markdown
Contributor

@lucbv lucbv commented May 20, 2025

Fix for issue #299 where we try to assign to _extents instead of assigning to _base_layout.extents

Fix for issue kokkos#299 where we try to assign to _extents instead
of assigning to _base_layout.extents

Signed-off-by: Luc Berger-Vergiat <lberge@sandia.gov>
@lucbv lucbv requested a review from crtrott May 20, 2025 21:47
@lucbv lucbv self-assigned this May 20, 2025
@lucbv lucbv added the bug Something isn't working label May 20, 2025
@mhoemmen
Copy link
Copy Markdown
Contributor

mhoemmen commented May 20, 2025

Btw, we replaced layout_blas_general in P1673 with layout_left_padded and layout_right_padded in P2642. We don't need layout_blas_general any more; it should be removed.

@lucbv
Copy link
Copy Markdown
Contributor Author

lucbv commented May 20, 2025

Ah that's good to know, this bug was preventing me from compiling the code so figured I would send a fix but I can modify my PR to just remove layout_blas_general.

@mhoemmen
Copy link
Copy Markdown
Contributor

@lucbv wrote:

... I can modify my PR to just remove layout_blas_general

That would be delightful of you -- thank you! : - )

This removes the definition and use of the deprecated
layout_blas_general which was replace with layout_left_padded
and layout_right_padded in P2642

Signed-off-by: Luc Berger-Vergiat <lberge@sandia.gov>
@lucbv lucbv requested a review from mhoemmen May 20, 2025 23:46
Copy link
Copy Markdown
Contributor

@mhoemmen mhoemmen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lucbv ! : - D This looks good!

@mhoemmen mhoemmen merged commit 4ea1b7e into kokkos:main May 21, 2025
4 checks passed
@mhoemmen
Copy link
Copy Markdown
Contributor

@youyu3 FYI

@lucbv lucbv deleted the fix_layout_bg branch May 21, 2025 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants