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
6818b58c
Commit
6818b58c
authored
Apr 10, 2022
by
rocking
Browse files
Fix compile error
parent
0277c89e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
example/19_gemm_softmax/gemm_softmax_xdl_fp16.cpp
example/19_gemm_softmax/gemm_softmax_xdl_fp16.cpp
+3
-3
No files found.
example/19_gemm_softmax/gemm_softmax_xdl_fp16.cpp
View file @
6818b58c
...
@@ -86,9 +86,9 @@ using DeviceGemmInstance = ck::tensor_operation::device::DeviceGemmXdl_C_Shuffle
...
@@ -86,9 +86,9 @@ using DeviceGemmInstance = ck::tensor_operation::device::DeviceGemmXdl_C_Shuffle
constexpr
int
Rank
=
2
;
constexpr
int
Rank
=
2
;
constexpr
int
NumReduceDim
=
1
;
constexpr
int
NumReduceDim
=
1
;
constexpr
ck
::
ReduceTensorOp
_t
ReduceOpId
=
ck
::
ReduceTensorOp
_t
::
MAX
;
constexpr
ck
::
ReduceTensorOp
ReduceOpId
=
ck
::
ReduceTensorOp
::
MAX
;
constexpr
ck
::
NanPropagation
_t
NanOpt
=
ck
::
NanPropagation
_t
::
PROPAGATE_NAN
;
constexpr
ck
::
NanPropagation
NanOpt
=
ck
::
NanPropagation
::
PROPAGATE_NAN
;
constexpr
bool
PropagateNan
=
(
NanOpt
==
ck
::
NanPropagation
_t
::
NOT_PROPAGATE_NAN
)
?
false
:
true
;
constexpr
bool
PropagateNan
=
(
NanOpt
==
ck
::
NanPropagation
::
NOT_PROPAGATE_NAN
)
?
false
:
true
;
// constexpr ck::ReduceTensorIndices_t IndicesOpt = ck::ReduceTensorIndices_t::NO_INDICES;
// constexpr ck::ReduceTensorIndices_t IndicesOpt = ck::ReduceTensorIndices_t::NO_INDICES;
using
ReduceOperation
=
typename
ck
::
reduce_binary_operator
<
CDataType
,
ReduceOpId
>::
opType
;
using
ReduceOperation
=
typename
ck
::
reduce_binary_operator
<
CDataType
,
ReduceOpId
>::
opType
;
using
InElementwiseOperation
=
using
InElementwiseOperation
=
...
...
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