Skip to content

Commit

Permalink
cout tests
Browse files Browse the repository at this point in the history
  • Loading branch information
broskoTT committed Feb 20, 2025
1 parent 6b1a326 commit 93ff9cd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions device/chip/local_chip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ LocalChip::LocalChip(std::unique_ptr<TTDevice> tt_device) :
tt_device->get_chip_info().harvesting_masks)),
tt_device_(std::move(tt_device)) {
initialize_local_chip();
std::cout << "Finished creating local chip." << std::endl;
}

void LocalChip::initialize_local_chip() {
Expand Down
1 change: 1 addition & 0 deletions device/cluster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ void Cluster::construct_cluster(
const bool clean_system_resources,
bool perform_harvesting,
std::unordered_map<chip_id_t, HarvestingMasks> simulated_harvesting_masks) {
std::cout << "udjog u construct cluster" << std::endl;
if (!skip_driver_allocs) {
auto available_device_ids = detect_available_device_ids();
log_info(LogSiliconDriver, "Detected PCI devices: {}", available_device_ids);
Expand Down
2 changes: 2 additions & 0 deletions tests/blackhole/test_cluster_bh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,9 @@ TEST(SiliconDriverBH, UnalignedStaticTLB_RW) {

uint32_t num_host_mem_ch_per_mmio_device = 1;

std::cout << "preconstructor" << std::endl;
Cluster cluster = Cluster(num_host_mem_ch_per_mmio_device, false, true, true);
std::cout << "preconstructor after" << std::endl;
set_barrier_params(cluster);
auto mmio_devices = cluster.get_target_mmio_device_ids();

Expand Down

0 comments on commit 93ff9cd

Please sign in to comment.