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
773247db
Commit
773247db
authored
Feb 21, 2023
by
guangzlu
Browse files
resolved conflicts in reference_dropout.hpp
parent
203268f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
include/ck/tensor_operation/gpu/grid/gridwise_batched_multihead_attention_backward_xdl_cshuffle_v1.hpp
..._batched_multihead_attention_backward_xdl_cshuffle_v1.hpp
+0
-0
library/include/ck/library/reference_tensor_operation/cpu/reference_dropout.hpp
...rary/reference_tensor_operation/cpu/reference_dropout.hpp
+1
-5
No files found.
include/ck/tensor_operation/gpu/grid/gridwise_batched_multihead_attention_backward_xdl_cshuffle_v1.hpp
deleted
100644 → 0
View file @
203268f1
library/include/ck/library/reference_tensor_operation/cpu/reference_dropout.hpp
View file @
773247db
...
@@ -48,14 +48,10 @@ struct ReferenceDropout : public device::BaseOperator
...
@@ -48,14 +48,10 @@ struct ReferenceDropout : public device::BaseOperator
{
{
arg
.
out_
.
ForEach
([
&
](
auto
&
self
,
auto
idx
)
{
arg
.
out_
.
ForEach
([
&
](
auto
&
self
,
auto
idx
)
{
self
(
idx
)
=
self
(
idx
)
=
<<<<<<<
HEAD
arg
.
ref_
(
idx
)
<=
arg
.
p_dropout_in_16bits_
arg
.
ref_
(
idx
)
<
arg
.
p_dropout_in_16bits_
?
ck
::
type_convert
<
OutDataType
>
(
ck
::
type_convert
<
float
>
(
arg
.
in_
(
idx
))
*
?
ck
::
type_convert
<
OutDataType
>
(
ck
::
type_convert
<
float
>
(
arg
.
in_
(
idx
))
*
ck
::
type_convert
<
float
>
(
arg
.
rp_dropout_
))
ck
::
type_convert
<
float
>
(
arg
.
rp_dropout_
))
:
0
;
:
0
;
=======
arg
.
ref_
(
idx
)
<=
arg
.
p_dropout_in_16bits_
?
arg
.
in_
(
idx
)
*
arg
.
rp_dropout_
:
0
;
>>>>>>>
attn
-
bwd
-
develop
});
});
return
0
;
return
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