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
Commits
61851ae2
Unverified
Commit
61851ae2
authored
May 24, 2022
by
Chao Liu
Committed by
GitHub
May 24, 2022
Browse files
minor fix for recent PR (#255)
* minor fix * clean
parent
40b59a63
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
include/ck/utility/dynamic_buffer.hpp
include/ck/utility/dynamic_buffer.hpp
+1
-1
profiler/src/profiler.cpp
profiler/src/profiler.cpp
+2
-3
No files found.
include/ck/utility/dynamic_buffer.hpp
View file @
61851ae2
...
@@ -325,7 +325,7 @@ struct DynamicBuffer
...
@@ -325,7 +325,7 @@ struct DynamicBuffer
{
{
if
(
is_valid_element
)
if
(
is_valid_element
)
{
{
atomic_add
(
c_style_pointer_cast
<
X
*>
(
&
p_data_
[
i
]),
x
);
atomic_add
<
X
>
(
c_style_pointer_cast
<
X
*>
(
&
p_data_
[
i
]),
x
);
}
}
}
}
}
}
...
...
profiler/src/profiler.cpp
View file @
61851ae2
...
@@ -26,8 +26,7 @@ int main(int argc, char* argv[])
...
@@ -26,8 +26,7 @@ int main(int argc, char* argv[])
{
{
if
(
strcmp
(
argv
[
1
],
"gemm"
)
==
0
)
if
(
strcmp
(
argv
[
1
],
"gemm"
)
==
0
)
{
{
int
stat
=
profile_gemm
(
argc
,
argv
);
return
profile_gemm
(
argc
,
argv
);
return
stat
;
}
}
else
if
(
strcmp
(
argv
[
1
],
"gemm_bias_2d"
)
==
0
)
else
if
(
strcmp
(
argv
[
1
],
"gemm_bias_2d"
)
==
0
)
{
{
...
@@ -55,7 +54,7 @@ int main(int argc, char* argv[])
...
@@ -55,7 +54,7 @@ int main(int argc, char* argv[])
}
}
else
if
(
strcmp
(
argv
[
1
],
"grouped_gemm"
)
==
0
)
else
if
(
strcmp
(
argv
[
1
],
"grouped_gemm"
)
==
0
)
{
{
profile_grouped_gemm
(
argc
,
argv
);
return
profile_grouped_gemm
(
argc
,
argv
);
}
}
else
if
(
strcmp
(
argv
[
1
],
"conv_fwd"
)
==
0
)
else
if
(
strcmp
(
argv
[
1
],
"conv_fwd"
)
==
0
)
{
{
...
...
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