Skip to content

Commit

Permalink
#0: Use HalProgrammableCoreType
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarwalTT committed Oct 21, 2024
1 parent 0bc708f commit 9c4ecf3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
#include <vector>
#include "common/core_coord.h"
#include "common/env_lib.hpp"
#include "core_config.h"
#include "gtest/gtest.h"
#include "hostdevcommon/common_values.hpp"
#include "impl/device/device.hpp"
#include "impl/kernels/data_types.hpp"
#include "impl/kernels/kernel_types.hpp"
#include "llrt/hal.hpp"
#include "tt_cluster_descriptor_types.h"
#include "tt_metal/host_api.hpp"
#include "tt_metal/detail/tt_metal.hpp"
Expand Down Expand Up @@ -292,10 +292,10 @@ class RandomProgramFixture : public CommandQueueSingleCardFixture {

std::variant<DataMovementConfig, ComputeConfig, EthernetConfig> config;
if (create_eth_config) {
compile_args.push_back(ProgrammableCoreType::ACTIVE_ETH);
compile_args.push_back(static_cast<uint32_t>(HalProgrammableCoreType::ACTIVE_ETH));
config = EthernetConfig{.compile_args = compile_args, .defines = defines};
} else {
compile_args.push_back(ProgrammableCoreType::TENSIX);
compile_args.push_back(static_cast<uint32_t>(HalProgrammableCoreType::TENSIX));
DataMovementProcessor processor = this->get_processor();
config = DataMovementConfig{.processor = processor, .compile_args = compile_args, .defines = defines};
}
Expand Down

0 comments on commit 9c4ecf3

Please sign in to comment.