Skip to content

Commit

Permalink
#0 : Removed CMAKE_UNIQUE_NAMESPACE
Browse files Browse the repository at this point in the history
  • Loading branch information
sankarmanoj-tt committed Dec 10, 2024
1 parent 59b36b7 commit eb30cd3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions ttnn/cpp/ttnn/operations/conv/conv2d/device/conv2d_op.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ namespace operations::conv {
namespace conv2d {


namespace CMAKE_UNIQUE_NAMESPACE {
const uint32_t act_cb = tt::CBIndex::c_0;
const uint32_t weight_cb = tt::CBIndex::c_1;
const uint32_t bias_cb = tt::CBIndex::c_2;
Expand All @@ -30,7 +29,6 @@ const uint32_t untilize_mode_reblock_cb = tt::CBIndex::c_26;
const uint32_t out0_cb = tt::CBIndex::c_16;
const uint32_t temp_sum_cb = tt::CBIndex::c_27;
const uint32_t untilized_padded_out_cb = tt::CBIndex::c_28;
} // namespace CMAKE_UNIQUE_NAMESPACE


// TODO: Accept parallelization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ operation::ProgramWithCallbacks multi_core_block_sharded_conv2d(
bool enable_split_reader,
bool enable_subblock_padding,
bool use_non_tile_height) {
using namespace CMAKE_UNIQUE_NAMESPACE;
bool pass = true;
tt_metal::Device* device = a.device();
TT_FATAL(a.get_layout() == Layout::ROW_MAJOR, "Conv activation should be in row major layout");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ operation::ProgramWithCallbacks multi_core_height_sharded_conv2d(
bool enable_split_reader,
bool enable_subblock_padding,
bool use_non_tile_height) {
using namespace CMAKE_UNIQUE_NAMESPACE;
bool pass = true;
tt_metal::Device* device = a.device();
TT_FATAL(a.get_layout() == Layout::ROW_MAJOR, "Conv activation should be in row major layout");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ std::tuple<CBHandle, CBHandle> create_CBs_for_sharded_input_v2(
bool fp32_dest_acc_en,
bool packer_l1_acc_en,
bool use_non_tile_height) {
using namespace CMAKE_UNIQUE_NAMESPACE;
using namespace tt;
tt::DataFormat interm0_df =
packer_l1_acc_en ? (fp32_dest_acc_en ? tt::DataFormat::Float32 : tt::DataFormat::Float16_b) : out_df;
Expand Down Expand Up @@ -476,7 +475,6 @@ std::tuple<CBHandle, CBHandle> create_CBs_for_depthwise_sharded_input(
bool split_reader,
bool fp32_dest_acc_en,
bool packer_l1_acc_en) {
using namespace CMAKE_UNIQUE_NAMESPACE;
using namespace tt;
tt::DataFormat interm0_df =
packer_l1_acc_en ? (fp32_dest_acc_en ? tt::DataFormat::Float32 : tt::DataFormat::Float16_b) : out_df;
Expand Down

0 comments on commit eb30cd3

Please sign in to comment.