-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Improvement] Added some graph names in the separate file (#11732)
* added graph tracker string constants * updated tests
- Loading branch information
1 parent
737ded5
commit 731ef35
Showing
9 changed files
with
120 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// SPDX-FileCopyrightText: © 2024 Tenstorrent Inc. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
#pragma once | ||
|
||
namespace ttnn::graph { | ||
// Vertex struct | ||
constexpr auto kNodeType = "node_type"; | ||
constexpr auto kCounter = "counter"; | ||
constexpr auto kConnections = "connections"; | ||
constexpr auto kParams = "params"; | ||
// params keys | ||
constexpr auto kName = "name"; | ||
constexpr auto kInputs = "inputs"; | ||
constexpr auto kTensorId = "tensor_id"; | ||
constexpr auto kType= "type"; | ||
constexpr auto kAddress = "address"; | ||
constexpr auto kSize = "size"; | ||
constexpr auto kLayout= "layout"; | ||
constexpr auto kShape = "shape"; | ||
|
||
// node names | ||
constexpr auto kNodeBuffer = "buffer"; | ||
constexpr auto kNodeBufferAllocate = "buffer_allocate"; | ||
constexpr auto kNodeBufferDeallocate = "buffer_deallocate"; | ||
constexpr auto kNodeTensor = "tensor"; | ||
constexpr auto kNodeCBAllocate = "circular_buffer_allocate"; | ||
constexpr auto kNodeCBDeallocateAll = "circular_buffer_deallocate_all";\ | ||
constexpr auto kNodeFunctionStart = "function_start"; | ||
constexpr auto kNodeFunctionEnd = "function_end"; | ||
constexpr auto kNodeCaptureStart = "capture_start"; | ||
constexpr auto kNodeCaptureEnd = "capture_end"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.