Fix cmake build for linux. Update GPU benchmarks. (#1904)
This commit is contained in:
parent
fb0fc0c580
commit
1957e6fb4d
@ -5,7 +5,7 @@ find_package(OpenMP)
|
|||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -O3 -funroll-loops -msse2")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,14 +2,7 @@
|
|||||||
|
|
||||||
## Benchmarks
|
## Benchmarks
|
||||||
|
|
||||||
Time for 500 boosting iterations in seconds.
|
[See here](http://dmlc.ml/2016/12/14/GPU-accelerated-xgboost.html) for performance benchmarks
|
||||||
|
|
||||||
Dataset | Instances | Features | i7-6700K | Titan X (pascal) | Speedup
|
|
||||||
--- | --- | --- | --- | --- | ---
|
|
||||||
Yahoo LTR | 473,134 | 700 | 3738 | 507 | 7.37
|
|
||||||
Higgs | 10,500,000 | 28 | 31352 | 4173 | 7.51
|
|
||||||
Bosch | 1,183,747 | 968 | 9460 | 1009 | 9.38
|
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
Specify the updater parameter as 'grow_gpu'.
|
Specify the updater parameter as 'grow_gpu'.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user