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
e883cc8a
Unverified
Commit
e883cc8a
authored
Aug 20, 2025
by
PanZezhong1725
Committed by
GitHub
Aug 20, 2025
Browse files
Merge pull request #363 from InfiniTensor/issue/362
issue/362 - allowed bfloat16_t for cambricon gemm
parents
82e43d35
04d1f27c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/infiniop/ops/gemm/bang/gemm_bang.cc
src/infiniop/ops/gemm/bang/gemm_bang.cc
+1
-3
No files found.
src/infiniop/ops/gemm/bang/gemm_bang.cc
View file @
e883cc8a
...
...
@@ -67,9 +67,7 @@ infiniStatus_t Descriptor::create(
auto
handle
=
reinterpret_cast
<
device
::
bang
::
cambricon
::
Handle
*>
(
handle_
);
auto
dtype
=
c_desc
->
dtype
();
if
(
dtype
!=
INFINI_DTYPE_F16
&&
dtype
!=
INFINI_DTYPE_F32
)
{
return
INFINI_STATUS_BAD_TENSOR_DTYPE
;
}
CHECK_DTYPE
(
dtype
,
INFINI_DTYPE_F16
,
INFINI_DTYPE_BF16
,
INFINI_DTYPE_F32
);
auto
result
=
MatmulInfo
::
create
(
c_desc
,
a_desc
,
b_desc
,
MatrixLayout
::
ROW_MAJOR
);
CHECK_RESULT
(
result
);
...
...
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