Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
broskoTT committed Dec 25, 2024
1 parent f17ef21 commit c97e03a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/api/test_tlb_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ TEST(ApiTLBManager, ManualTLBConfiguration) {

std::int32_t c_zero_address = 0;

for (tt_xy_pair core : soc_desc.workers) {
for (tt_xy_pair core : soc_desc.get_cores(CoreType::TENSIX)) {
tlb_manager->configure_tlb(core, get_static_tlb_index(core), c_zero_address, tlb_data::Relaxed);
}

// So now that we have configured TLBs we can use it to interface with the TTDevice.
auto any_worker_core = soc_desc.workers[0];
auto any_worker_core = soc_desc.get_cores(CoreType::TENSIX)[0];
auto tlb_description = tlb_manager->get_tlb_configuration(any_worker_core);

// TODO: Maybe accept tlb_index only?
Expand Down

0 comments on commit c97e03a

Please sign in to comment.