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
1443aa67
Commit
1443aa67
authored
Mar 02, 2026
by
wooway777
Browse files
issue/1032 - adjust swiglu operator.cc
parent
ae49716d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/infiniop/ops/swiglu/operator.cc
src/infiniop/ops/swiglu/operator.cc
+6
-2
No files found.
src/infiniop/ops/swiglu/operator.cc
View file @
1443aa67
...
...
@@ -102,6 +102,7 @@ __C infiniStatus_t infiniopCreateSwiGLUDescriptor(
}
#undef CREATE
#undef CREATE_CUDA
}
__C
infiniStatus_t
infiniopGetSwiGLUWorkspaceSize
(
infiniopSwiGLUDescriptor_t
desc
,
size_t
*
size
)
{
...
...
@@ -159,11 +160,12 @@ __C infiniStatus_t infiniopGetSwiGLUWorkspaceSize(infiniopSwiGLUDescriptor_t des
#ifdef ENABLE_MOORE_API
GET
(
INFINI_DEVICE_MOORE
,
moore
);
#endif
default:
return
INFINI_STATUS_DEVICE_TYPE_NOT_SUPPORTED
;
}
#undef GET
return
INFINI_STATUS_DEVICE_TYPE_NOT_SUPPORTED
;
#undef GET_CUDA
}
__C
infiniStatus_t
infiniopSwiGLU
(
...
...
@@ -234,6 +236,7 @@ __C infiniStatus_t infiniopSwiGLU(
}
#undef CALCULATE
#undef CALCULATE_CUDA
}
__C
infiniStatus_t
...
...
@@ -298,4 +301,5 @@ infiniopDestroySwiGLUDescriptor(infiniopSwiGLUDescriptor_t desc) {
}
#undef DELETE
#undef DELETE_CUDA
}
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