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
608a47b2
Commit
608a47b2
authored
Apr 24, 2017
by
Laurae
Committed by
Guolin Ke
Apr 24, 2017
Browse files
Temporary fix for Intel OpenCL installation (#448)
parent
8487d0a2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/treelearner/gpu_tree_learner.cpp
src/treelearner/gpu_tree_learner.cpp
+1
-1
No files found.
src/treelearner/gpu_tree_learner.cpp
View file @
608a47b2
...
...
@@ -575,7 +575,7 @@ void GPUTreeLearner::BuildGPUKernels() {
opts
<<
" -D POWER_FEATURE_WORKGROUPS="
<<
i
<<
" -D USE_CONSTANT_BUF="
<<
use_constants
<<
" -D USE_DP_FLOAT="
<<
int
(
tree_config_
->
gpu_use_dp
)
<<
" -D CONST_HESSIAN="
<<
int
(
is_constant_hessian_
)
<<
"
-cl-strict-aliasing
-cl-mad-enable -cl-no-signed-zeros -cl-fast-relaxed-math"
;
<<
" -cl-mad-enable -cl-no-signed-zeros -cl-fast-relaxed-math"
;
#if GPU_DEBUG >= 1
std
::
cout
<<
"Building GPU kernels with options: "
<<
opts
.
str
()
<<
std
::
endl
;
#endif
...
...
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