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
MIGraphX
Commits
780fffc8
Commit
780fffc8
authored
Mar 28, 2022
by
Shucai Xiao
Browse files
clang format
parent
fc48a1d3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/targets/gpu/device/layernorm.cpp
src/targets/gpu/device/layernorm.cpp
+8
-8
No files found.
src/targets/gpu/device/layernorm.cpp
View file @
780fffc8
...
@@ -423,8 +423,8 @@ void triadd_layernorm(hipStream_t stream,
...
@@ -423,8 +423,8 @@ void triadd_layernorm(hipStream_t stream,
}
}
}
}
__global__
void
layernorm_kernel_half2
(
__global__
void
void
*
in1
,
void
*
data_out
,
index_int
batch_item_num
,
index_int
block_size
)
layernorm_kernel_half2
(
void
*
in1
,
void
*
data_out
,
index_int
batch_item_num
,
index_int
block_size
)
{
{
__half2
*
input1
=
reinterpret_cast
<
__half2
*>
(
in1
);
__half2
*
input1
=
reinterpret_cast
<
__half2
*>
(
in1
);
__half2
*
output
=
reinterpret_cast
<
__half2
*>
(
data_out
);
__half2
*
output
=
reinterpret_cast
<
__half2
*>
(
data_out
);
...
...
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