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
tianlh
LightGBM-DCU
Commits
5decde26
Commit
5decde26
authored
Apr 28, 2026
by
tianlh
Browse files
add build-python.sh
parent
1632da1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
build-python.sh
build-python.sh
+2
-0
No files found.
build-python.sh
View file @
5decde26
...
...
@@ -146,6 +146,8 @@ while [ $# -gt 0 ]; do
;;
--rocm
)
BUILD_ARGS
=
"
${
BUILD_ARGS
}
--config-setting=cmake.define.USE_ROCM=ON"
BUILD_ARGS
=
"
${
BUILD_ARGS
}
--config-setting=cmake.define.CMAKE_HIP_COMPILER=dcc"
#BUILD_ARGS="${BUILD_ARGS} --config-setting=cmake.define.GPU_MAX_THREADS_PER_BLOCK=256"
;;
--gpu
)
BUILD_ARGS
=
"
${
BUILD_ARGS
}
--config-setting=cmake.define.USE_GPU=ON"
...
...
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