Fix cmake build for linux. Update GPU benchmarks. (#1904)

This commit is contained in:
Rory Mitchell 2016-12-23 21:18:56 +13:00 committed by Tianqi Chen
parent fb0fc0c580
commit 1957e6fb4d
2 changed files with 2 additions and 9 deletions

View File

@ -5,7 +5,7 @@ find_package(OpenMP)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
if(NOT MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -O3 -funroll-loops -msse2")
endif()

View File

@ -2,14 +2,7 @@
## Benchmarks
Time for 500 boosting iterations in seconds.
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
[See here](http://dmlc.ml/2016/12/14/GPU-accelerated-xgboost.html) for performance benchmarks
## Usage
Specify the updater parameter as 'grow_gpu'.