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

#0: Update comment for strided mode sync #52

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

ncvetkovicTT
Copy link
Contributor

@ncvetkovicTT ncvetkovicTT commented Nov 25, 2024

In order to do pack_untilize we need to set the DEST access mode to strided. The following bits need to be set to enable correct stride amount and proper 32-bit data format handling - DEST_ACCESS_CFG_remap_addrs_RMW and DEST_ACCESS_CFG_swizzle_32b_RMW. Since this is the part of the global CFG, we need to wait for all DEST accesses to finish before changing these bits (as nicely explained here: https://yyz-gitlab.local.tenstorrent.com/tenstorrent/budabackend/-/issues/1849).

The sync introduced in _llk_math_hw_configure_, in tt_metal/third_party/tt_llk_blackhole/llk_lib/llk_math_common.h allows for our LLK implementation to be in line with the HW design and specification.

The fix was introduced to tt-metal as a part of PR#15398 as the mismatch was identified in the issue #14609

@ncvetkovicTT ncvetkovicTT merged commit 7939ab0 into main Nov 25, 2024
1 check passed
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.

2 participants