forked from oap-project/oap-mllib
-
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.
Merge pull request oap-project#11 from xwu99/new-oneccl
[ML-10] Porting Kmeans and PCA to new oneCCL API
- Loading branch information
Showing
16 changed files
with
166 additions
and
122 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Check envs for building | ||
if [[ -z $JAVA_HOME ]]; then | ||
echo $JAVA_HOME not defined! | ||
exit 1 | ||
fi | ||
|
||
if [[ -z $DAALROOT ]]; then | ||
echo DAALROOT not defined! | ||
exit 1 | ||
fi | ||
|
||
if [[ -z $TBBROOT ]]; then | ||
echo TBBROOT not defined! | ||
exit 1 | ||
fi | ||
|
||
if [[ -z $CCL_ROOT ]]; then | ||
echo CCL_ROOT not defined! | ||
exit 1 | ||
fi | ||
|
||
echo === Building Environments === | ||
echo JAVA_HOME=$JAVA_HOME | ||
echo DAALROOT=$DAALROOT | ||
echo TBBROOT=$TBBROOT | ||
echo CCL_ROOT=$CCL_ROOT | ||
echo GCC Version: $(gcc -dumpversion) | ||
echo ============================= | ||
|
||
mvn -DskipTests clean package |
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,5 @@ | ||
#pragma once | ||
|
||
#include <oneapi/ccl.hpp> | ||
|
||
ccl::communicator &getComm(); |
Oops, something went wrong.