Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
tilelang
Commits
55051166
Commit
55051166
authored
Mar 28, 2025
by
NaOHCC
Committed by
LeiWang1999
Mar 28, 2025
Browse files
[Bugfix] Correct method call for block reduction check when analyzing memory footprint (#299)
parent
3f294650
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tilelang/carver/roller/node.py
tilelang/carver/roller/node.py
+1
-1
No files found.
tilelang/carver/roller/node.py
View file @
55051166
...
@@ -493,7 +493,7 @@ class PrimFuncNode(Node):
...
@@ -493,7 +493,7 @@ class PrimFuncNode(Node):
for
buffer
in
self
.
block_analyzer
.
get_input_buffers
(
block
):
for
buffer
in
self
.
block_analyzer
.
get_input_buffers
(
block
):
cache
=
buffer
.
name
not
in
cached_tensor
and
(
cache
=
buffer
.
name
not
in
cached_tensor
and
(
is_broadcast_pattern
(
buffer
,
output_buffer
)
or
is_broadcast_pattern
(
buffer
,
output_buffer
)
or
self
.
block_analyzer
.
get_block_info
(
block
).
is_reduction
)
self
.
block_analyzer
.
get_block_info
(
block
).
is_reduction
()
)
if
not
cache
:
if
not
cache
:
continue
continue
cached_tensor
.
append
(
buffer
.
name
)
cached_tensor
.
append
(
buffer
.
name
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment