trivialfis
60787ecebc
Merge generic device helper functions into gpu set. ( #3626 )
...
* Remove the use of old NDevices* functions.
* Use GPUSet in timer.h.
2018-08-26 18:14:23 +12:00
trivialfis
cf2d86a4f6
Add travis sanitizers tests. ( #3557 )
...
* Add travis sanitizers tests.
* Add gcc-7 in Travis.
* Add SANITIZER_PATH for CMake.
* Enable sanitizer tests in Travis.
* Fix memory leaks in tests.
* Fix all memory leaks reported by Address Sanitizer.
* tests/cpp/helpers.h/CreateDMatrix now returns raw pointer.
2018-08-19 16:40:30 +12:00
trivialfis
7c82dc92b2
Fix accessing DMatrix.handle before set. ( #3599 )
...
Close #3597 .
2018-08-16 15:26:06 -07:00
trivialfis
9265964ee7
Fix ptrdiff_t namespace in Span. ( #3588 )
...
Fix #3587 .
2018-08-15 10:04:55 +12:00
trivialfis
2c502784ff
Span class. ( #3548 )
...
* Add basic Span class based on ISO++20.
* Use Span<Entry const> instead of Inst in SparsePage.
* Add DeviceSpan in HostDeviceVector, use it in regression obj.
2018-08-14 17:58:11 +12:00
trivialfis
55caad6e49
Remove redundant FindGTest.cmake. ( #3533 )
...
During removal of FindGTest.cmake, also
* Fix gtest include dirs.
* Remove some blanks and use PWD for gtest dir.
2018-08-07 10:08:08 +12:00
trivialfis
34dc9155ab
Use __CUDA__ macro with __NVCC__. ( #3539 )
...
* __CUDA__ is defined in clang. Making the change won't make clang
compile xgboost, but syntax checking from clang is at least partially
working.
2018-08-02 22:04:23 +12:00
trivialfis
860263f814
Enable building with sanitizers. ( #3525 )
2018-07-31 17:25:47 +12:00
trivialfis
8973f2cb0e
Fix building dmlc-core from xgboost. ( #3522 )
...
Move building dmlc-core before adding DMLC_LOG_CUSTOMIZE.
Fix #3520 .
2018-07-28 10:35:11 -07:00
trivialfis
34aeee2961
Fix test_param.cc header path ( #3317 )
2018-05-28 10:26:29 -07:00