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
jerrrrry
infinicore
Commits
3a6d8366
Commit
3a6d8366
authored
Mar 12, 2025
by
zhangyue
Browse files
issue/87: fix return in matmul calculate
parent
1df7701e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/infiniop/ops/matmul/kunlun/matmul_kunlun.cc
src/infiniop/ops/matmul/kunlun/matmul_kunlun.cc
+3
-2
No files found.
src/infiniop/ops/matmul/kunlun/matmul_kunlun.cc
View file @
3a6d8366
...
...
@@ -61,7 +61,7 @@ infiniStatus_t calculate(
auto
unit
=
infiniSizeOf
(
dtype
);
return
internal
->
useXdnn
(
CHECK_STATUS
(
internal
->
useXdnn
(
(
kunlunStream_t
)
stream
,
[
&
](
xdnnHandle_t
handle
)
{
for
(
size_t
i
=
0
;
i
<
info
.
batch
;
i
++
)
{
...
...
@@ -88,7 +88,8 @@ infiniStatus_t calculate(
nullptr
)));
}
return
INFINI_STATUS_SUCCESS
;
});
}));
return
INFINI_STATUS_SUCCESS
;
}
infiniStatus_t
Descriptor
::
calculate
(
...
...
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