Skip to content

Commit

Permalink
revert deprecated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
broskoTT committed Dec 13, 2024
1 parent 2ea8197 commit 1ae2bfc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions device/simulation/deprecated/tt_emulation_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ void tt_emulation_device::set_device_dram_address_params(const tt_device_dram_ad
dram_address_params = dram_address_params_;
}

int tt_emulation_device::get_number_of_chips_in_cluster() { return detect_number_of_chips(); }

std::unordered_set<int> tt_emulation_device::get_all_chips_in_cluster() { return {0}; }

int tt_emulation_device::detect_number_of_chips() { return 1; }

bool tt_emulation_device::using_harvested_soc_descriptors() { return false; }
Expand Down
2 changes: 2 additions & 0 deletions device/simulation/deprecated/tt_emulation_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ class tt_emulation_device : public tt_device {
virtual ~tt_emulation_device();
virtual tt_ClusterDescriptor* get_cluster_description();
virtual void set_device_dram_address_params(const tt_device_dram_address_params& dram_address_params_);
virtual int get_number_of_chips_in_cluster();
virtual std::unordered_set<chip_id_t> get_all_chips_in_cluster();
static int detect_number_of_chips();
virtual std::map<int, int> get_clocks();

Expand Down

0 comments on commit 1ae2bfc

Please sign in to comment.