Skip to content

Commit

Permalink
move to tt_metal/impl/dispatch/kernels
Browse files Browse the repository at this point in the history
  • Loading branch information
ayerofieiev-tt committed Mar 7, 2025
1 parent 48ee46d commit 5239d95
Show file tree
Hide file tree
Showing 21 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <tt-metalium/event.hpp>
#include <tt-metalium/device.hpp>

#include "hostdevcommon/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_commands.hpp"

namespace tt::tt_metal {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <tt-metalium/event.hpp>
#include <tt-metalium/command_queue.hpp>

#include "hostdevcommon/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_commands.hpp"

namespace tt::tt_metal {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <gtest/gtest.h>
#include "tt_metal/impl/dispatch/device_command.hpp"
#include "tt_metal/impl/dispatch/device_command_calculator.hpp"
#include "hostdevcommon/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_commands.hpp"

namespace tt::tt_metal {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <tt-metalium/host_api.hpp>
#include <tt-metalium/device.hpp>
#include "noc/noc_parameters.h"
#include "hostdevcommon/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_commands.hpp"

#include <tt-metalium/hal.hpp>
#include "llrt.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <tt-metalium/tt_align.hpp>
#include <tt-metalium/tt_metal.hpp>
#include <tt-metalium/rtoptions.hpp>
#include "hostdevcommon/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_commands.hpp"
#include "common.h"

#include "test_common.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <tt-metalium/dispatch_settings.hpp>
#include "common.h"
#include "tt_cluster.hpp"
#include "hostdevcommon/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/packet_queue_ctrl.hpp"

#include <tt-metalium/hal.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <tt-metalium/tt_metal.hpp>
#include <tt-metalium/rtoptions.hpp>
#include <tt-metalium/device.hpp>
#include "hostdevcommon/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/packet_queue_ctrl.hpp"
#include "test_common.hpp"
#include "routing_test_common.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <tt-metalium/host_api.hpp>
#include <tt-metalium/tt_metal.hpp>
#include <tt-metalium/rtoptions.hpp>
#include "hostdevcommon/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/packet_queue_ctrl.hpp"
#include <tt-metalium/device.hpp>
#include "test_common.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <tt-metalium/host_api.hpp>
#include <tt-metalium/tt_metal.hpp>
#include <tt-metalium/rtoptions.hpp>
#include "hostdevcommon/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/packet_queue_ctrl.hpp"
#include <tt-metalium/device.hpp>
#include "test_common.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <tt-metalium/host_api.hpp>
#include <tt-metalium/tt_metal.hpp>
#include <tt-metalium/rtoptions.hpp>
#include "hostdevcommon/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/packet_queue_ctrl.hpp"
#include <tt-metalium/device.hpp>
#include "test_common.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <tt-metalium/tt_metal.hpp>
#include <tt-metalium/rtoptions.hpp>
#include <tt-metalium/device.hpp>
#include "hostdevcommon/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/packet_queue_ctrl.hpp"
#include "test_common.hpp"
#include "routing_test_common.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <tt-metalium/tt_metal.hpp>
#include <tt-metalium/device.hpp>
#include <tt-metalium/rtoptions.hpp>
#include "hostdevcommon/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/packet_queue_ctrl.hpp"
#include "test_common.hpp"
#include "routing_test_common.hpp"
Expand Down
1 change: 1 addition & 0 deletions tt_metal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ target_sources(
core_descriptors/blackhole_140_arch.yaml
core_descriptors/grayskull_120_arch.yaml
core_descriptors/wormhole_b0_80_arch.yaml
impl/dispatch/kernels/cq_commands.hpp
impl/dispatch/kernels/cq_common.hpp
impl/dispatch/kernels/cq_helpers.hpp
impl/dispatch/kernels/packet_queue.hpp
Expand Down
1 change: 0 additions & 1 deletion tt_metal/hostdevcommon/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.23)
BASE_DIRS api
FILES
api/hostdevcommon/common_values.hpp
api/hostdevcommon/cq_commands.hpp
api/hostdevcommon/dprint_common.h
api/hostdevcommon/kernel_structs.h
api/hostdevcommon/profiler_common.h
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/impl/dispatch/debug_tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "debug_tools.hpp"

#include "tt_cluster.hpp"
#include "hostdevcommon/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_commands.hpp"

namespace internal {

Expand Down
2 changes: 1 addition & 1 deletion tt_metal/impl/dispatch/device_command.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "env_lib.hpp"
#include "command_queue_interface.hpp"
#include "hostdevcommon/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_commands.hpp"
#include "memcpy.hpp"
#include "aligned_allocator.hpp"
#include "hal.hpp"
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/impl/dispatch/device_command_calculator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "hal.hpp"
#include "tt_align.hpp"
#include "hostdevcommon/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_commands.hpp"

namespace tt::tt_metal {
class DeviceCommandCalculator {
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/impl/dispatch/host_runtime_commands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <circular_buffer.hpp>
#include "dprint_server.hpp"
#include "tt_metal/impl/debug/watcher_server.hpp"
#include "hostdevcommon/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_commands.hpp"
#include "tt_metal/impl/dispatch/data_collection.hpp"
#include <dispatch_core_manager.hpp>
#include <event.hpp>
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/impl/dispatch/kernels/cq_dispatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include "debug/assert.h"
#include "debug/dprint.h"
#include "hostdevcommon/common_values.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_common.hpp"
#include "tt_metal/impl/dispatch/kernels/packet_queue_ctrl.hpp"

Expand Down
2 changes: 1 addition & 1 deletion tt_metal/impl/dispatch/util/dispatch_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <tt_cluster.hpp>
#include "magic_enum/magic_enum.hpp"
#include "umd/device/tt_core_coordinates.h"
#include "hostdevcommon/cq_commands.hpp"
#include "tt_metal/impl/dispatch/kernels/cq_commands.hpp"
#include <dispatch_settings.hpp>
#include <helpers.hpp>

Expand Down

0 comments on commit 5239d95

Please sign in to comment.