Improve HostDeviceVector exception safety (#4301)
* make the assignments of HostDeviceVector exception safe. * storing a dummy GPUDistribution instance in HDV for CPU based code. * change testxgboost binary location to build directory.
This commit is contained in:
@@ -5,4 +5,4 @@ cd python-package
|
||||
python setup.py install --user
|
||||
cd ..
|
||||
pytest -v -s --fulltrace -m "(not mgpu) and (not slow)" tests/python-gpu
|
||||
./testxgboost --gtest_filter=-*.MGPU_*
|
||||
./build/testxgboost --gtest_filter=-*.MGPU_*
|
||||
|
||||
@@ -5,7 +5,7 @@ cd python-package
|
||||
python setup.py install --user
|
||||
cd ..
|
||||
pytest -v -s --fulltrace -m "(not slow) and mgpu" tests/python-gpu
|
||||
./testxgboost --gtest_filter=*.MGPU_*
|
||||
./build/testxgboost --gtest_filter=*.MGPU_*
|
||||
|
||||
cd tests/distributed
|
||||
./runtests-gpu.sh
|
||||
|
||||
Reference in New Issue
Block a user