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
03f21987
Unverified
Commit
03f21987
authored
Sep 01, 2025
by
Kurisu
Committed by
GitHub
Sep 01, 2025
Browse files
Allow fill global buffer (#774)
* Allow fill global buffer * fix lint error
parent
9a869396
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/op/elem.cc
src/op/elem.cc
+2
-1
No files found.
src/op/elem.cc
View file @
03f21987
...
...
@@ -186,7 +186,8 @@ Stmt FillNode::Lower(const LowerArgs &T, arith::Analyzer *analyzer) const {
auto
init_loop
=
MakeSIMTLoop
(
analyzer
);
auto
vectorized_thread_loop
=
VectorizeLoop
(
init_loop
);
return
vectorized_thread_loop
;
}
else
if
(
dst
.
scope
()
==
"shared.dyn"
||
dst
.
scope
()
==
"shared"
)
{
}
else
if
(
dst
.
scope
()
==
"shared.dyn"
||
dst
.
scope
()
==
"shared"
||
dst
.
scope
()
==
"global"
)
{
auto
par_op
=
ParallelOp
(
MakeSIMTLoop
(
analyzer
));
par_op
->
InferLayout
({
T
.
target
,
T
.
thread_bounds
,
T
.
layout_map
},
InferLevel
::
kFree
);
...
...
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