Skip to content

Commit

Permalink
Remove core type worker
Browse files Browse the repository at this point in the history
  • Loading branch information
pjanevskiTT committed Dec 25, 2024
1 parent b090032 commit 2d4fd76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions device/api/umd/device/tt_core_coordinates.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
* CoreType is an enum class that represents all types of cores
* present on the Tenstorrent chip.
*/
// TODO: change to uint8_t and uplift to tt-metal
enum class CoreType {
enum class CoreType : uint8_t {
ARC,
DRAM,
ACTIVE_ETH,
Expand All @@ -29,14 +28,13 @@ enum class CoreType {
// but it won't be needed later on
HARVESTED,
ETH,
WORKER,
};

/*
* CoordSystem is an enum class that represents all types of coordinate
* systems that can be used to represent a core's location.
*/
enum class CoordSystem : std::uint8_t {
enum class CoordSystem : uint8_t {
LOGICAL,
PHYSICAL,
VIRTUAL,
Expand Down
2 changes: 1 addition & 1 deletion device/tt_soc_descriptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ void tt_SocDescriptor::load_core_descriptors_from_device_descriptor(YAML::Node &
for (const auto &core_string : worker_cores) {
CoreDescriptor core_descriptor;
core_descriptor.coord = format_node(core_string);
core_descriptor.type = CoreType::WORKER;
core_descriptor.type = CoreType::TENSIX;
core_descriptor.l1_size = worker_l1_size;
cores.insert({core_descriptor.coord, core_descriptor});
workers.push_back(core_descriptor.coord);
Expand Down

0 comments on commit 2d4fd76

Please sign in to comment.