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
e3669dfc
Commit
e3669dfc
authored
Aug 12, 2025
by
wooway777
Browse files
issue/265 - added bf16 support for Cambricon RoPE
parent
330d9189
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/infiniop/ops/rope/bang/rope_bang.mlu
src/infiniop/ops/rope/bang/rope_bang.mlu
+2
-0
No files found.
src/infiniop/ops/rope/bang/rope_bang.mlu
View file @
e3669dfc
...
@@ -108,6 +108,8 @@ infiniStatus_t Descriptor::calculate(
...
@@ -108,6 +108,8 @@ infiniStatus_t Descriptor::calculate(
switch (_info.data_type) {
switch (_info.data_type) {
case INFINI_DTYPE_F16:
case INFINI_DTYPE_F16:
ROPE_TYPE(half);
ROPE_TYPE(half);
case INFINI_DTYPE_BF16:
ROPE_TYPE(bfloat16_t);
case INFINI_DTYPE_F32:
case INFINI_DTYPE_F32:
ROPE_TYPE(float);
ROPE_TYPE(float);
default:
default:
...
...
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