Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"New" TTDevice class #40

Closed
wants to merge 62 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
7f55c13
Delete emulation + versim device
vtangTT Aug 16, 2024
413f169
Delete include device_api.h
vtangTT Aug 16, 2024
6c81525
Delete rolled_write_to_device
vtangTT Aug 16, 2024
4093349
Delete rolled_write_to_non_mmio_device
vtangTT Aug 17, 2024
ce9ed0f
Delete write_epoch_cmd_to_device
vtangTT Aug 17, 2024
aaf7a65
Delete noc_translation_en
vtangTT Aug 17, 2024
b6bf8a9
Delete dma_allocation_size
vtangTT Aug 17, 2024
e3b476d
Delete channel_address
vtangTT Aug 17, 2024
f542800
Delete get_pcie_speed
vtangTT Aug 17, 2024
fe0f2df
Delete channels_are_directly_connected
vtangTT Aug 19, 2024
eac72c6
Delete chips_have_ethernet_connectivity
vtangTT Aug 19, 2024
f3cc77d
Delete specify_enabled_devices
vtangTT Aug 19, 2024
2ef3992
Delete get_sequential_chip_id_set
vtangTT Aug 19, 2024
9126d36
Delete get_dram_chan_map
vtangTT Aug 19, 2024
7d7ac9c
Delete get_worker_core
vtangTT Aug 19, 2024
8e41f0c
Delete get_routing_core
vtangTT Aug 19, 2024
f8b6337
Delete get_pcie_core
vtangTT Aug 19, 2024
5b67105
Delete is_dram_core
vtangTT Aug 19, 2024
c2d2c3e
Delete get_channel_of_ethernet_core
vtangTT Aug 19, 2024
71c6ba7
Delete get_num_dram_blocks_per_channel
vtangTT Aug 19, 2024
cd190a3
Delete get_noc2host_offset
vtangTT Aug 19, 2024
eb9be0a
Delete device_api.h
vtangTT Aug 19, 2024
ed03bf7
Delete bind_thread_to_cpuset and bind_thread_cpuset
vtangTT Aug 19, 2024
e87bb70
Delete unbind_thread_from_cpuset and unbind_thread_cpuset
vtangTT Aug 19, 2024
55aea11
Delete clear_state_and_cpuset_pins and clear_state
vtangTT Aug 19, 2024
8a95d03
Delete set_main_thread_id and _set_main_thread_id
vtangTT Aug 19, 2024
437afaa
Delete get_num_cpu_cores_allocated_to_device
vtangTT Aug 19, 2024
fec40c4
Delete get_allowed_num_threads
vtangTT Aug 19, 2024
e0e6259
Delete store_thread_original_cpuset
vtangTT Aug 19, 2024
c2d8497
Delete allocate_cpu_set_for_thread
vtangTT Aug 19, 2024
1c7317f
Delete m_skip_singlify var
vtangTT Aug 19, 2024
3747025
Delete init_populate_physical_mmio_device_id_map, m_logical_to_physic…
vtangTT Aug 19, 2024
063c5b7
Delete allocate_cpu_id_mutex
vtangTT Aug 19, 2024
0825cfe
Delete m_global_thread_ids_pinned
vtangTT Aug 19, 2024
591cad6
Delete m_main_thread_id
vtangTT Aug 19, 2024
e8ff463
Delete m_stored_main_thread_id
vtangTT Aug 19, 2024
604c069
Delete m_global_thread_id_to_physical_device_id_map and m_global_thre…
vtangTT Aug 19, 2024
f0a465f
Delete DEFAULT_DRAM_SIZE_PER_CORE
vtangTT Aug 19, 2024
2bdeae1
Delete ttkmd_init and ttkmd_uninit
vtangTT Aug 19, 2024
0367e9f
Delete get_link_width
vtangTT Aug 19, 2024
b3a2ca2
Delete get_link_speed
vtangTT Aug 19, 2024
7842d2f
Delete read_checking_enable
vtangTT Aug 19, 2024
6f4860f
Delete read_cfg and write_cfg
vtangTT Aug 19, 2024
ebdf03f
Delete handle_dma_timeout
vtangTT Aug 19, 2024
b179938
Delete get_harvesting_masks_from_harvested_rows
vtangTT Aug 19, 2024
8569cb2
Delete check_dram_core_exists
vtangTT Aug 19, 2024
67d3530
Delete get_logical_to_physical_mmio_device_id_map
vtangTT Aug 19, 2024
49c4fa2
Delete get_physical_device_id_to_bus_id_map
vtangTT Aug 19, 2024
31bab7d
Delete useless comments
vtangTT Aug 20, 2024
1fffa07
Delete everything related to DMA
vtangTT Aug 20, 2024
db52e2f
Delete mutex name prefixes
vtangTT Aug 21, 2024
da8f781
Delete init_pcie_iatus (setup for iATU P2P)
vtangTT Aug 21, 2024
e92088c
Delete 'impl_device.hpp' and move `*_implementation` into respective …
vtangTT Aug 21, 2024
c9aaa33
Delete set_debug_level
vtangTT Aug 21, 2024
448119e
Delete write_to_non_mmio_device_send_epoch_cmd
vtangTT Aug 22, 2024
407cd60
Delete tt_MutexType
vtangTT Aug 26, 2024
4f5cd94
Delete epoch/erisc and some random vars
vtangTT Aug 26, 2024
27610d9
Delete undefined test_pcie_tlb_setup & test_broadcast
vtangTT Aug 26, 2024
9d60964
Delete TLB_OFFSETS
vtangTT Aug 26, 2024
8a74ef3
init changes for tt_device
vtangTT Aug 27, 2024
acab84a
Split functions using pcie out of tt_silicondevice and into new TTDev…
vtangTT Aug 30, 2024
8dbdd67
init changes for header
vtangTT Sep 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions device/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@

set(UMD_DEVICE_SRCS
architecture_implementation.cpp
blackhole_implementation.cpp
cpuset_lib.cpp
grayskull_implementation.cpp
tlb.cpp
tt_cluster_descriptor.cpp
tt_device.cpp
tt_emulation_stub.cpp
tt_silicon_driver.cpp
tt_silicon_driver_common.cpp
tt_soc_descriptor.cpp
tt_versim_stub.cpp
wormhole_implementation.cpp
simulation/tt_simulation_device.cpp
simulation/tt_simulation_host.cpp
blackhole/blackhole_implementation.cpp
grayskull/grayskull_implementation.cpp
wormhole/wormhole_implementation.cpp
pci_device.cpp
)
add_library(umd_device SHARED ${UMD_DEVICE_SRCS})
target_link_libraries(umd_device
Expand Down
6 changes: 3 additions & 3 deletions device/architecture_implementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

#include "device/architecture_implementation.h"

#include "device/blackhole_implementation.h"
#include "device/grayskull_implementation.h"
#include "device/wormhole_implementation.h"
#include "device/blackhole/blackhole_implementation.h"
#include "device/grayskull/grayskull_implementation.h"
#include "device/wormhole/wormhole_implementation.h"

namespace tt::umd {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

#include "device/blackhole_implementation.h"
#include "blackhole_implementation.h"

namespace tt::umd {

Expand Down
76 changes: 0 additions & 76 deletions device/blackhole/impl_device.hpp

This file was deleted.

Loading