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
7569675e
Commit
7569675e
authored
Apr 25, 2025
by
Graylatzhou
Browse files
issue/183 规范格式
parent
734c00a6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
22 deletions
+21
-22
src/infiniop-test/include/ops.hpp
src/infiniop-test/include/ops.hpp
+1
-1
src/infiniop-test/src/ops/mul.cpp
src/infiniop-test/src/ops/mul.cpp
+9
-9
src/infiniop/ops/mul/cpu/mul_cpu.cc
src/infiniop/ops/mul/cpu/mul_cpu.cc
+11
-11
src/infiniop/ops/mul/operator.cc
src/infiniop/ops/mul/operator.cc
+0
-1
No files found.
src/infiniop-test/include/ops.hpp
View file @
7569675e
src/infiniop-test/src/ops/mul.cpp
View file @
7569675e
src/infiniop/ops/mul/cpu/mul_cpu.cc
View file @
7569675e
...
...
@@ -36,7 +36,7 @@ infiniStatus_t Descriptor::calculate(
std
::
vector
<
const
void
*>
inputs
,
void
*
stream
)
const
{
switch
(
_dtype
)
{
switch
(
_dtype
)
{
case
INFINI_DTYPE_F16
:
return
_device_info
->
calculate
<
MulOp
,
fp16_t
>
(
_info
,
output
,
inputs
,
stream
);
case
INFINI_DTYPE_F32
:
...
...
@@ -48,4 +48,4 @@ infiniStatus_t Descriptor::calculate(
}
return
INFINI_STATUS_SUCCESS
;
}
}
}
// namespace op::mul::cpu
src/infiniop/ops/mul/operator.cc
View file @
7569675e
...
...
@@ -10,7 +10,6 @@
#include "cuda/mul_cuda.cuh"
#endif
__C
infiniStatus_t
infiniopCreateMulDescriptor
(
infiniopHandle_t
handle
,
infiniopMulDescriptor_t
*
desc_ptr
,
...
...
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