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
a19e940f
Commit
a19e940f
authored
Jan 18, 2022
by
Chao Liu
Browse files
fix
parent
c5e1870a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
example/3_gemm_xdl_bias_relu_add/gemm_xdl_bias_relu_add.cpp
example/3_gemm_xdl_bias_relu_add/gemm_xdl_bias_relu_add.cpp
+1
-1
No files found.
example/3_gemm_xdl_bias_relu_add/gemm_xdl_bias_relu_add.cpp
View file @
a19e940f
...
@@ -35,7 +35,7 @@ struct BiasReluAdd
...
@@ -35,7 +35,7 @@ struct BiasReluAdd
template
<
typename
T1
,
typename
T2
>
template
<
typename
T1
,
typename
T2
>
__device__
constexpr
float
operator
()(
float
v0
,
T1
v1
,
T2
v2
)
const
__device__
constexpr
float
operator
()(
float
v0
,
T1
v1
,
T2
v2
)
const
{
{
#if
1
#if
0
float a = v1 + v0;
float a = v1 + v0;
float b = a > 0 ? a : 0;
float b = a > 0 ? a : 0;
float c = b + v2;
float c = b + v2;
...
...
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