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
9b32b4b1
Commit
9b32b4b1
authored
Jun 04, 2025
by
Catheriany
Browse files
Merge remote-tracking branch 'origin/main' into issue/150
parents
15bcbdfc
4799ddbf
Changes
103
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
xmake.lua
xmake.lua
+3
-0
xmake/ascend.lua
xmake/ascend.lua
+2
-3
xmake/bang.lua
xmake/bang.lua
+10
-0
No files found.
xmake.lua
View file @
9b32b4b1
...
...
@@ -162,6 +162,9 @@ target("infinirt")
if
has_config
(
"nv-gpu"
)
then
add_deps
(
"infinirt-cuda"
)
end
if
has_config
(
"cambricon-mlu"
)
then
add_deps
(
"infinirt-cambricon"
)
end
if
has_config
(
"ascend-npu"
)
then
add_deps
(
"infinirt-ascend"
)
end
...
...
xmake/ascend.lua
View file @
9b32b4b1
...
...
@@ -50,9 +50,8 @@ target("infiniop-ascend")
add_files
(
"$(projectdir)/src/infiniop/devices/ascend/*.cc"
,
"$(projectdir)/src/infiniop/ops/*/ascend/*.cc"
)
-- Add operator
-- TODO: add it back after ascend-kernels is fixed
-- add_rules("ascend-kernels")
-- add_links(builddir.."/libascend_kernels.a")
add_rules
(
"ascend-kernels"
)
add_links
(
builddir
..
"/libascend_kernels.a"
)
target_end
()
target
(
"infinirt-ascend"
)
...
...
xmake/bang.lua
View file @
9b32b4b1
...
...
@@ -50,3 +50,13 @@ target("infiniop-cambricon")
add_files
(
mlu_files
,
{
rule
=
"mlu"
})
end
target_end
()
target
(
"infinirt-cambricon"
)
set_kind
(
"static"
)
add_deps
(
"infini-utils"
)
set_languages
(
"cxx17"
)
on_install
(
function
(
target
)
end
)
-- Add include dirs
add_files
(
"../src/infinirt/bang/*.cc"
)
add_cxflags
(
"-lstdc++ -Wall -Werror -fPIC"
)
target_end
()
Prev
1
2
3
4
5
6
Next
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