Skip to content

Commit 1282724

Browse files
committed
[Refactor] Remove Unused Member Variables in AtomicAddNode and CopyNode
- Removed the `args_` member variable from both `AtomicAddNode` and `CopyNode` classes to streamline the code and eliminate unnecessary data members. - This change enhances code clarity and maintainability by focusing on relevant attributes for each class.
1 parent 3b22262 commit 1282724

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/op/atomic_add.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ using namespace tir;
1717

1818
class AtomicAddNode : public TileOperatorNode {
1919
public:
20-
Array<PrimExpr> args_;
21-
2220
Buffer src, dst;
2321
Array<Range> src_range, dst_range;
2422
IntImm coalesced_width;

src/op/copy.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,6 @@ struct TMAIm2ColDesc {
9696
*/
9797
class CopyNode : public TileOperatorNode {
9898
public:
99-
Array<PrimExpr> args_; // Copy parameters (indices, sizes, etc.)
100-
10199
Buffer src, dst; // Source and destination buffers
102100
Array<Range> src_range, dst_range; // Ranges for each dimension in src and dst
103101
IntImm coalesced_width; // Width (in elements) for coalesced memory access

0 commit comments

Comments
 (0)