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
b6fe118e
Commit
b6fe118e
authored
May 09, 2022
by
rocking
Browse files
Fix typo
parent
d92fb7e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
example/19_gemm_softmax/gemm_softmax_xdl_fp16.cpp
example/19_gemm_softmax/gemm_softmax_xdl_fp16.cpp
+2
-2
No files found.
example/19_gemm_softmax/gemm_softmax_xdl_fp16.cpp
View file @
b6fe118e
...
@@ -373,8 +373,8 @@ int main(int argc, char* argv[])
...
@@ -373,8 +373,8 @@ int main(int argc, char* argv[])
// do reduce max
// do reduce max
auto
reduce_max
=
DeviceReduceMaxInstance
{};
auto
reduce_max
=
DeviceReduceMaxInstance
{};
auto
reduce_max_work
a
space_size
=
reduce_max
.
GetWorkspaceSizeInBytes
(
c_m_n_shape
,
reduceDims
);
auto
reduce_max_workspace_size
=
reduce_max
.
GetWorkspaceSizeInBytes
(
c_m_n_shape
,
reduceDims
);
DeviceMem
reduce_max_workaspace_device_buf
(
reduce_max_work
a
space_size
);
DeviceMem
reduce_max_workaspace_device_buf
(
reduce_max_workspace_size
);
auto
reduce_max_argument_ptr
=
reduce_max
.
MakeArgumentPointer
(
auto
reduce_max_argument_ptr
=
reduce_max
.
MakeArgumentPointer
(
c_m_n_shape
,
c_m_n_shape
,
...
...
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