forked from dmlc/xgboost
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sycl python tests to public CI (#19)
* initial * install dpcpp with conda * add env file for sycl * fixing missprint * fixing env file name * rename device sycl:gpu->sycl in predictor tests * set env variables to use g++ for xgboost compilation in sycl tests * modify tests * make predictor tests training on cpu * fixes for predictor tests * add zero buffer check to predictor * add zero buffer size chack to updater * add zero buffer check to SetIndexData() * fix error * add more checks for zero buffers * add zero buffer check to PredTransform --------- Co-authored-by: Dmitry Razdoburdin <>
- Loading branch information
1 parent
6aa6a39
commit 5046112
Showing
11 changed files
with
90 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: linux_sycl_test | ||
channels: | ||
- conda-forge | ||
- intel | ||
dependencies: | ||
- python=3.8 | ||
- cmake | ||
- c-compiler | ||
- cxx-compiler | ||
- pip | ||
- wheel | ||
- numpy | ||
- scipy | ||
- scikit-learn | ||
- pandas | ||
- hypothesis>=6.46 | ||
- pytest | ||
- pytest-timeout | ||
- pytest-cov | ||
- dpcpp_linux-64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters