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
3eafff74
"include/git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "a8d8b07d3afd3b2386c64fce3fd2d8f302372ab2"
Commit
3eafff74
authored
Sep 23, 2025
by
Jeff Daily
Browse files
add --use-rocm option to build-python.sh
parent
20996c92
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
build-python.sh
build-python.sh
+5
-0
No files found.
build-python.sh
View file @
3eafff74
...
@@ -38,6 +38,8 @@
...
@@ -38,6 +38,8 @@
# Compile 32-bit version.
# Compile 32-bit version.
# --cuda
# --cuda
# Compile CUDA version.
# Compile CUDA version.
# --rocm
# Compile CUDA version.
# --gpu
# --gpu
# Compile GPU version.
# Compile GPU version.
# --integrated-opencl
# --integrated-opencl
...
@@ -142,6 +144,9 @@ while [ $# -gt 0 ]; do
...
@@ -142,6 +144,9 @@ while [ $# -gt 0 ]; do
--cuda
)
--cuda
)
BUILD_ARGS
=
"
${
BUILD_ARGS
}
--config-setting=cmake.define.USE_CUDA=ON"
BUILD_ARGS
=
"
${
BUILD_ARGS
}
--config-setting=cmake.define.USE_CUDA=ON"
;;
;;
--rocm
)
BUILD_ARGS
=
"
${
BUILD_ARGS
}
--config-setting=cmake.define.USE_ROCM=ON"
;;
--gpu
)
--gpu
)
BUILD_ARGS
=
"
${
BUILD_ARGS
}
--config-setting=cmake.define.USE_GPU=ON"
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