Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
FlashMLA
Commits
5d62c0d7
Commit
5d62c0d7
authored
Jan 29, 2026
by
zhanghj2
Browse files
938架构
parent
7a8722d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
setup.py
setup.py
+7
-5
No files found.
setup.py
View file @
5d62c0d7
...
@@ -23,17 +23,19 @@ def get_features_args():
...
@@ -23,17 +23,19 @@ def get_features_args():
return
features_args
return
features_args
def
get_arch_flags
():
def
get_arch_flags
():
return
[
"--offload-arch=gfx938"
]
arch_flags
=
[]
arch_flags
.
append
(
"--offload-arch=gfx938"
)
return
arch_flags
def
get_nvcc_thread_args
():
#
def get_nvcc_thread_args():
# nvcc_threads = os.getenv("NVCC_THREADS") or "32"
#
# nvcc_threads = os.getenv("NVCC_THREADS") or "32"
return
[
"--threads"
,
nvcc_threads
]
#
return ["--threads", nvcc_threads]
# subprocess.run(["git", "submodule", "update", "--init", "csrc/cutlass"])
# subprocess.run(["git", "submodule", "update", "--init", "csrc/cutlass"])
this_dir
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
this_dir
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
if
IS_WINDOWS
:
if
False
:
cxx_args
=
[
"/O2"
,
"/std:c++20"
,
"/DNDEBUG"
,
"/W0"
]
cxx_args
=
[
"/O2"
,
"/std:c++20"
,
"/DNDEBUG"
,
"/W0"
]
else
:
else
:
cxx_args
=
[
"-O3"
,
"-std=c++17"
,
"-DNDEBUG"
,
"-Wno-deprecated-declarations"
,
"-DDCU_ASM"
,
"-Wno-return-type"
,
]
cxx_args
=
[
"-O3"
,
"-std=c++17"
,
"-DNDEBUG"
,
"-Wno-deprecated-declarations"
,
"-DDCU_ASM"
,
"-Wno-return-type"
,
]
...
...
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