You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
void Cluster::configure_tlb(chip_id_t logical_device_id, tt_xy_pair core, std::int32_t tlb_index, std::int32_t address, uint64_t ordering)
The int32_t address is incorrect. It should be uint64_t.
The text was updated successfully, but these errors were encountered:
### Issue
#303
### Description
Using signed integer for address is wrong and can cause bugs due to sign
extension since UMD represents addresses as uint64_t internally. 32 bits
is unnecessarily restrictive (there are address spaces in the chips that
reach beyond 0x7fffffff that I might want to configure a static window
for).
### List of the changes
* Use uint64_t instead of int32_t in `configure_tlb` method
* Convert sizes/constants in some header files from int32_t to uint32_t
* Remove unnecessary `std::` prefixing
### Testing
CI
### API Changes
This PR has API changes, but it shouldn't break anything.
void Cluster::configure_tlb(chip_id_t logical_device_id, tt_xy_pair core, std::int32_t tlb_index, std::int32_t address, uint64_t ordering)
The
int32_t address
is incorrect. It should be uint64_t.The text was updated successfully, but these errors were encountered: