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
gaoqiong
composable_kernel_ROCM
Commits
2541812e
Commit
2541812e
authored
May 14, 2024
by
Adam Osewski
Browse files
Use different active wait scheme.
parent
cfbef574
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
include/ck/utility/work_scheduling.hpp
include/ck/utility/work_scheduling.hpp
+4
-8
No files found.
include/ck/utility/work_scheduling.hpp
View file @
2541812e
...
@@ -105,15 +105,11 @@ class StridedReductionTileLoop
...
@@ -105,15 +105,11 @@ class StridedReductionTileLoop
if
(
neighbour_count
>
0
)
if
(
neighbour_count
>
0
)
{
{
index_t
flag_sum
=
0
;
// Check if this workgroup's flag is also set (i
= 0
)
do
for
(
index_t
i
=
0
;
i
<=
neighbour_count
;
++
i
)
{
{
flag_sum
=
0
;
finished_block_flags_
.
wait_eq
(
GetWorkgroupFlagIdx
()
+
i
,
1
);
for
(
index_t
i
=
1
;
i
<=
neighbour_count
;
++
i
)
}
{
flag_sum
+=
finished_block_flags_
.
ld
(
GetWorkgroupFlagIdx
()
+
i
);
}
}
while
(
flag_sum
!=
neighbour_count
);
}
}
return
neighbour_count
;
return
neighbour_count
;
...
...
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