-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ML-250] Replace sycl::gpu_selector{}.select_device() with manual GPU allocation #235
Conversation
Thanks for opening a pull request! Could you open an issue for this pull request on Github Issues? Then could you also rename pull request title and commit log in the following format?
See also: |
mllib-dal/src/main/native/OneCCL.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oneCCL init has a create_communicator for CPU even when another communicator is created for GPU later.
"GPU device." | ||
<< std::endl; | ||
exit(-1); | ||
} | ||
case ComputeDevice::gpu: { | ||
std::cout << "selector GPU" << std::endl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove debug output
std::cout << "KMeans (native): rankid " << rankId | ||
<< "; training step took " << duration / 1000 << " secs" | ||
<< std::endl; | ||
std::cout << "KMeans (native): training step took " << duration / 1000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do you need this output? already have one above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Want to output each task training took and compare with root task training.
ComputeDevice device = getComputeDeviceByOrdinal(computeDeviceOrdinal); | ||
switch (device) { | ||
#ifdef CPU_ONLY_PROFILE | ||
case ComputeDevice::host: | ||
case ComputeDevice::cpu: { | ||
ccl::communicator &comm = getComm(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to create communicator here than in the oneCCL.init.
val executor_num = Utils.sparkExecutorNum(X.sparkContext) | ||
val executor_cores = Utils.sparkExecutorCores() | ||
val summary = new SummarizerDALImpl(executor_num, executor_cores) | ||
.computeSummarizerMatrix(rdd) | ||
if (handlePersistence) { | ||
X.unpersist() | ||
rdd.unpersist() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
those code changes are irrelevant to this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rollback and fix this in next PR
* 1. add JNI wrapper 2. modify compiler config 3. add unit test Signed-off-by: minmingzhu <[email protected]> * add ci test Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * java code style Signed-off-by: minmingzhu <[email protected]> * cpp code style Signed-off-by: minmingzhu <[email protected]> * Update ci-local-test.sh * Update ci-local-test.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update ci-local-test.sh * Update ci-local-test.sh * Update ci-local-test.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update prepare-build-deps.sh * add convert array, vector to homogentable Signed-off-by: minmingzhu <[email protected]> * 1. rollback ci config 2. remove CI test becaue homogentable only support GPU Signed-off-by: minmingzhu <[email protected]> * 1. update prepare-build-deps.sh Signed-off-by: minmingzhu <[email protected]> * remove ci GPU test Signed-off-by: minmingzhu <[email protected]> * 1. remove GPU CI test Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * update Makefile Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * 1. fix ci Signed-off-by: minmingzhu <[email protected]> * update header Signed-off-by: minmingzhu <[email protected]> * update header Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update ci-cluster-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci conf Signed-off-by: minmingzhu <[email protected]> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <[email protected]> * update ci conf Signed-off-by: minmingzhu <[email protected]> * fix comment Signed-off-by: minmingzhu <[email protected]> * Update build-jni.sh * update Makefile Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update test.sh * Update test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update test.sh * Update test.sh * update test.sh Signed-off-by: minmingzhu <[email protected]> * update test.sh Signed-off-by: minmingzhu <[email protected]> * update test.sh Signed-off-by: minmingzhu <[email protected]> * fix link libze_loader.so.1 Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update ci-local-dpc-test.sh Signed-off-by: minmingzhu <[email protected]> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update Signed-off-by: minmingzhu <[email protected]> * update Makefile Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * Update prepare-build-deps-gpu.sh * Update prepare-build-deps-gpu.sh * Update prepare-build-deps.sh * update ci Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update install-build-level-zero-deps-ubuntun.sh * Update install-build-level-zero-deps-ubuntun.sh * Update install-build-level-zero-deps-ubuntun.sh * Update ci-local-dpc-test.sh * Update GPU.cpp * Update GPU.cpp * Update ci-build-test.sh * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update HomogenTableImpl.cpp Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * Update ci-local-dpc-test.sh * Update ci-local-dpc-test.sh * update HomogenTable API Signed-off-by: minmingzhu <[email protected]> * update install-build-level-zero-deps-ubuntu.sh Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update run.sh * Update build-jni.sh * 1. Merge branch 'make_homogen_table' into convert_homogentable 2. update ci 3. add a new parameters for HomogenTable class Signed-off-by: minmingzhu <[email protected]> * Update pom.xml * Update test.sh * Update Makefile * update Signed-off-by: minmingzhu <[email protected]> * Update ConvertHomogenTableSuite.scala * Update install-level-zero-ubuntu.sh * Update install-level-zero-ubuntu.sh * Update build.sh * Update test.sh * Update test.sh * Update HomogenTableImpl.cpp * Update install-build-deps-ubuntu.sh * Update HomogenTableImpl.cpp * update Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * Update install-build-deps-ubuntu.sh * fix comments Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update list-compute-devices.cpp * Convert homogentable to array/vector/matrix (#4) * 1. convert homogenTable to array/vector/matrix 2. add unit test Signed-off-by: minmingzhu <[email protected]> * Merge branch 'make_homogen_table' into convert_homogentable Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * Convert RDD[Vector]/RDD[LabeledPoint] to HomogenTable (#8) * 1. convert rdd to HomogenTable * 2. add unit test Signed-off-by: minmingzhu <[email protected]> * add empty homogentable Signed-off-by: minmingzhu <[email protected]> * Mirgate kmeans daal to DPC++ (#7) Signed-off-by: minmingzhu <[email protected]> * 1. Mirgate kmeans daal to DPC++ * 2. add unit test * 1. move local host to distributed host 2. add cluster test 3. code style Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update ci-cluster-test.sh * Update ci-cluster-test.sh * Update build.sh * Update build.sh * Update OneDAL.cpp * Update OneDAL.cpp * Update OneDAL.cpp * Update com_intel_oap_mllib_OneDAL__.h * update code style Signed-off-by: minmingzhu <[email protected]> * Update NaiveBayesResult.java * 1. update code style 2. When using the Host/CPU device throws a fail Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * rollback code style Signed-off-by: minmingzhu <[email protected]> * rollback code style Signed-off-by: minmingzhu <[email protected]> * rollback checkstyle.xml Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * rollback checkstyle.xml Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update OneDAL.scala Signed-off-by: minmingzhu <[email protected]> * revert ALS.scala * revert checkstyle.xml * :Revert "revert checkstyle.xml" This reverts commit 4f74bac. * disable cluster test for gpu * disable cluster test for gpu * nit Co-authored-by: minmingz <[email protected]> Co-authored-by: Wu, Xiaochang <[email protected]>
* 1. add JNI wrapper 2. modify compiler config 3. add unit test Signed-off-by: minmingzhu <[email protected]> * add ci test Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * java code style Signed-off-by: minmingzhu <[email protected]> * cpp code style Signed-off-by: minmingzhu <[email protected]> * Update ci-local-test.sh * Update ci-local-test.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update ci-local-test.sh * Update ci-local-test.sh * Update ci-local-test.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update prepare-build-deps.sh * add convert array, vector to homogentable Signed-off-by: minmingzhu <[email protected]> * 1. rollback ci config 2. remove CI test becaue homogentable only support GPU Signed-off-by: minmingzhu <[email protected]> * 1. update prepare-build-deps.sh Signed-off-by: minmingzhu <[email protected]> * remove ci GPU test Signed-off-by: minmingzhu <[email protected]> * 1. remove GPU CI test Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * update Makefile Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * 1. fix ci Signed-off-by: minmingzhu <[email protected]> * update header Signed-off-by: minmingzhu <[email protected]> * update header Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update ci-cluster-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci conf Signed-off-by: minmingzhu <[email protected]> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <[email protected]> * update ci conf Signed-off-by: minmingzhu <[email protected]> * fix comment Signed-off-by: minmingzhu <[email protected]> * Update build-jni.sh * update Makefile Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update test.sh * Update test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update test.sh * Update test.sh * update test.sh Signed-off-by: minmingzhu <[email protected]> * update test.sh Signed-off-by: minmingzhu <[email protected]> * update test.sh Signed-off-by: minmingzhu <[email protected]> * fix link libze_loader.so.1 Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update ci-local-dpc-test.sh Signed-off-by: minmingzhu <[email protected]> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update Signed-off-by: minmingzhu <[email protected]> * update Makefile Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * Update prepare-build-deps-gpu.sh * Update prepare-build-deps-gpu.sh * Update prepare-build-deps.sh * update ci Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update install-build-level-zero-deps-ubuntun.sh * Update install-build-level-zero-deps-ubuntun.sh * Update install-build-level-zero-deps-ubuntun.sh * Update ci-local-dpc-test.sh * Update GPU.cpp * Update GPU.cpp * Update ci-build-test.sh * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update HomogenTableImpl.cpp Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * Update ci-local-dpc-test.sh * Update ci-local-dpc-test.sh * update HomogenTable API Signed-off-by: minmingzhu <[email protected]> * update install-build-level-zero-deps-ubuntu.sh Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update run.sh * Update build-jni.sh * 1. Merge branch 'make_homogen_table' into convert_homogentable 2. update ci 3. add a new parameters for HomogenTable class Signed-off-by: minmingzhu <[email protected]> * Update pom.xml * Update test.sh * Update Makefile * update Signed-off-by: minmingzhu <[email protected]> * Update ConvertHomogenTableSuite.scala * Update install-level-zero-ubuntu.sh * Update install-level-zero-ubuntu.sh * Update build.sh * Update test.sh * Update test.sh * Update HomogenTableImpl.cpp * Update install-build-deps-ubuntu.sh * Update HomogenTableImpl.cpp * update Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * Update install-build-deps-ubuntu.sh * fix comments Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update list-compute-devices.cpp * Convert homogentable to array/vector/matrix (#4) * 1. convert homogenTable to array/vector/matrix 2. add unit test Signed-off-by: minmingzhu <[email protected]> * Merge branch 'make_homogen_table' into convert_homogentable Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * Convert RDD[Vector]/RDD[LabeledPoint] to HomogenTable (#8) * 1. convert rdd to HomogenTable * 2. add unit test Signed-off-by: minmingzhu <[email protected]> * add empty homogentable Signed-off-by: minmingzhu <[email protected]> * Mirgate kmeans daal to DPC++ (#7) Signed-off-by: minmingzhu <[email protected]> * 1. Mirgate kmeans daal to DPC++ * 2. add unit test * 1. move local host to distributed host 2. add cluster test 3. code style Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update ci-cluster-test.sh * Update ci-cluster-test.sh * Update build.sh * Update build.sh * Update OneDAL.cpp * Update OneDAL.cpp * Update OneDAL.cpp * Update com_intel_oap_mllib_OneDAL__.h * update code style Signed-off-by: minmingzhu <[email protected]> * Update NaiveBayesResult.java * 1. update code style 2. When using the Host/CPU device throws a fail Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * rollback code style Signed-off-by: minmingzhu <[email protected]> * rollback code style Signed-off-by: minmingzhu <[email protected]> * rollback checkstyle.xml Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * rollback checkstyle.xml Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update OneDAL.scala Signed-off-by: minmingzhu <[email protected]> * revert ALS.scala * revert checkstyle.xml * :Revert "revert checkstyle.xml" This reverts commit 4f74bac. * disable cluster test for gpu * disable cluster test for gpu * nit * migrate cpa to DPC++ Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update OutputHelpers.hpp * update com_intel_oap_mllib_feature_PCADALImpl.h Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update PCADALImpl.scala Signed-off-by: minmingzhu <[email protected]> * 1. update function name and variable name Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update stayHomogenTablePtrToVector to saveHomogenTablePtrToVector Signed-off-by: minmingzhu <[email protected]> * change compute_device to ComputeDevice Signed-off-by: minmingzhu <[email protected]> Co-authored-by: minmingz <[email protected]> Co-authored-by: Wu, Xiaochang <[email protected]>
* 1. add JNI wrapper 2. modify compiler config 3. add unit test Signed-off-by: minmingzhu <[email protected]> * add ci test Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * java code style Signed-off-by: minmingzhu <[email protected]> * cpp code style Signed-off-by: minmingzhu <[email protected]> * Update ci-local-test.sh * Update ci-local-test.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update ci-local-test.sh * Update ci-local-test.sh * Update ci-local-test.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update prepare-build-deps.sh * add convert array, vector to homogentable Signed-off-by: minmingzhu <[email protected]> * 1. rollback ci config 2. remove CI test becaue homogentable only support GPU Signed-off-by: minmingzhu <[email protected]> * 1. update prepare-build-deps.sh Signed-off-by: minmingzhu <[email protected]> * remove ci GPU test Signed-off-by: minmingzhu <[email protected]> * 1. remove GPU CI test Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * update Makefile Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * 1. fix ci Signed-off-by: minmingzhu <[email protected]> * update header Signed-off-by: minmingzhu <[email protected]> * update header Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update ci-cluster-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci conf Signed-off-by: minmingzhu <[email protected]> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <[email protected]> * update ci conf Signed-off-by: minmingzhu <[email protected]> * fix comment Signed-off-by: minmingzhu <[email protected]> * Update build-jni.sh * update Makefile Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update test.sh * Update test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update test.sh * Update test.sh * update test.sh Signed-off-by: minmingzhu <[email protected]> * update test.sh Signed-off-by: minmingzhu <[email protected]> * update test.sh Signed-off-by: minmingzhu <[email protected]> * fix link libze_loader.so.1 Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update ci-local-dpc-test.sh Signed-off-by: minmingzhu <[email protected]> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update Signed-off-by: minmingzhu <[email protected]> * update Makefile Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * Update prepare-build-deps-gpu.sh * Update prepare-build-deps-gpu.sh * Update prepare-build-deps.sh * update ci Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update install-build-level-zero-deps-ubuntun.sh * Update install-build-level-zero-deps-ubuntun.sh * Update install-build-level-zero-deps-ubuntun.sh * Update ci-local-dpc-test.sh * Update GPU.cpp * Update GPU.cpp * Update ci-build-test.sh * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update HomogenTableImpl.cpp Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * Update ci-local-dpc-test.sh * Update ci-local-dpc-test.sh * update HomogenTable API Signed-off-by: minmingzhu <[email protected]> * update install-build-level-zero-deps-ubuntu.sh Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update run.sh * Update build-jni.sh * 1. Merge branch 'make_homogen_table' into convert_homogentable 2. update ci 3. add a new parameters for HomogenTable class Signed-off-by: minmingzhu <[email protected]> * Update pom.xml * Update test.sh * Update Makefile * update Signed-off-by: minmingzhu <[email protected]> * Update ConvertHomogenTableSuite.scala * Update install-level-zero-ubuntu.sh * Update install-level-zero-ubuntu.sh * Update build.sh * Update test.sh * Update test.sh * Update HomogenTableImpl.cpp * Update install-build-deps-ubuntu.sh * Update HomogenTableImpl.cpp * update Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * Update install-build-deps-ubuntu.sh * fix comments Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update list-compute-devices.cpp * Convert homogentable to array/vector/matrix (#4) * 1. convert homogenTable to array/vector/matrix 2. add unit test Signed-off-by: minmingzhu <[email protected]> * Merge branch 'make_homogen_table' into convert_homogentable Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * Convert RDD[Vector]/RDD[LabeledPoint] to HomogenTable (#8) * 1. convert rdd to HomogenTable * 2. add unit test Signed-off-by: minmingzhu <[email protected]> * add empty homogentable Signed-off-by: minmingzhu <[email protected]> * Mirgate kmeans daal to DPC++ (#7) Signed-off-by: minmingzhu <[email protected]> * 1. Mirgate kmeans daal to DPC++ * 2. add unit test * 1. migrate pca to DPC++ 2. add unit test Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * normalize data Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * 1. migrate correlation to DPC++ interface 2. add unit test Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * 1. move local host to distributed host 2. add cluster test 3. code style Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update ci-cluster-test.sh * Update ci-cluster-test.sh * Update build.sh * Update build.sh * Update OneDAL.cpp * Update OneDAL.cpp * Update OneDAL.cpp * Update com_intel_oap_mllib_OneDAL__.h * update code style Signed-off-by: minmingzhu <[email protected]> * Update NaiveBayesResult.java * 1. update code style 2. When using the Host/CPU device throws a fail Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * rollback code style Signed-off-by: minmingzhu <[email protected]> * rollback code style Signed-off-by: minmingzhu <[email protected]> * rollback checkstyle.xml Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * rollback checkstyle.xml Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update OneDAL.scala Signed-off-by: minmingzhu <[email protected]> * revert ALS.scala * revert checkstyle.xml * :Revert "revert checkstyle.xml" This reverts commit 4f74bac. * disable cluster test for gpu * disable cluster test for gpu * nit * migrate cpa to DPC++ Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update OutputHelpers.hpp * update com_intel_oap_mllib_feature_PCADALImpl.h Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update PCADALImpl.scala Signed-off-by: minmingzhu <[email protected]> * 1. update function name and variable name Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update stayHomogenTablePtrToVector to saveHomogenTablePtrToVector Signed-off-by: minmingzhu <[email protected]> * change compute_device to ComputeDevice Signed-off-by: minmingzhu <[email protected]> * 1. migrate pca to DPC++ 2. add unit test Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * normalize data Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * 1. migrate correlation to DPC++ interface 2. add unit test Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update prepare-build-deps-gpu.sh * update Signed-off-by: minmingzhu <[email protected]> * Update Makefile * Update OutputHelpers.hpp * Update PCAOneAPIImpl.cpp * Update service.h * update Signed-off-by: minmingzhu <[email protected]> * Update OneDAL.scala * Update PCADALImpl.scala * Update KmeansHomogenTableSuite.scala * Update TestCommon.scala * Update test.sh * update Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> Signed-off-by: minmingzhu <[email protected]> Co-authored-by: minmingz <[email protected]> Co-authored-by: Wu, Xiaochang <[email protected]>
* add low order moments Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * rename unit filename Signed-off-by: minmingzhu <[email protected]> Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
2. rollback adjustment cache Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
Signed-off-by: minmingzhu <[email protected]>
… allocation (oap-project#235) * Migrate KMeans daal to DPC++ (oap-project#209) * 1. add JNI wrapper 2. modify compiler config 3. add unit test Signed-off-by: minmingzhu <[email protected]> * add ci test Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * java code style Signed-off-by: minmingzhu <[email protected]> * cpp code style Signed-off-by: minmingzhu <[email protected]> * Update ci-local-test.sh * Update ci-local-test.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update ci-local-test.sh * Update ci-local-test.sh * Update ci-local-test.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update prepare-build-deps.sh * add convert array, vector to homogentable Signed-off-by: minmingzhu <[email protected]> * 1. rollback ci config 2. remove CI test becaue homogentable only support GPU Signed-off-by: minmingzhu <[email protected]> * 1. update prepare-build-deps.sh Signed-off-by: minmingzhu <[email protected]> * remove ci GPU test Signed-off-by: minmingzhu <[email protected]> * 1. remove GPU CI test Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * update Makefile Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * 1. fix ci Signed-off-by: minmingzhu <[email protected]> * update header Signed-off-by: minmingzhu <[email protected]> * update header Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update ci-cluster-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci conf Signed-off-by: minmingzhu <[email protected]> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <[email protected]> * update ci conf Signed-off-by: minmingzhu <[email protected]> * fix comment Signed-off-by: minmingzhu <[email protected]> * Update build-jni.sh * update Makefile Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update test.sh * Update test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update test.sh * Update test.sh * update test.sh Signed-off-by: minmingzhu <[email protected]> * update test.sh Signed-off-by: minmingzhu <[email protected]> * update test.sh Signed-off-by: minmingzhu <[email protected]> * fix link libze_loader.so.1 Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update ci-local-dpc-test.sh Signed-off-by: minmingzhu <[email protected]> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update Signed-off-by: minmingzhu <[email protected]> * update Makefile Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * Update prepare-build-deps-gpu.sh * Update prepare-build-deps-gpu.sh * Update prepare-build-deps.sh * update ci Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update install-build-level-zero-deps-ubuntun.sh * Update install-build-level-zero-deps-ubuntun.sh * Update install-build-level-zero-deps-ubuntun.sh * Update ci-local-dpc-test.sh * Update GPU.cpp * Update GPU.cpp * Update ci-build-test.sh * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update HomogenTableImpl.cpp Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * Update ci-local-dpc-test.sh * Update ci-local-dpc-test.sh * update HomogenTable API Signed-off-by: minmingzhu <[email protected]> * update install-build-level-zero-deps-ubuntu.sh Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update run.sh * Update build-jni.sh * 1. Merge branch 'make_homogen_table' into convert_homogentable 2. update ci 3. add a new parameters for HomogenTable class Signed-off-by: minmingzhu <[email protected]> * Update pom.xml * Update test.sh * Update Makefile * update Signed-off-by: minmingzhu <[email protected]> * Update ConvertHomogenTableSuite.scala * Update install-level-zero-ubuntu.sh * Update install-level-zero-ubuntu.sh * Update build.sh * Update test.sh * Update test.sh * Update HomogenTableImpl.cpp * Update install-build-deps-ubuntu.sh * Update HomogenTableImpl.cpp * update Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * Update install-build-deps-ubuntu.sh * fix comments Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update list-compute-devices.cpp * Convert homogentable to array/vector/matrix (#4) * 1. convert homogenTable to array/vector/matrix 2. add unit test Signed-off-by: minmingzhu <[email protected]> * Merge branch 'make_homogen_table' into convert_homogentable Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * Convert RDD[Vector]/RDD[LabeledPoint] to HomogenTable (#8) * 1. convert rdd to HomogenTable * 2. add unit test Signed-off-by: minmingzhu <[email protected]> * add empty homogentable Signed-off-by: minmingzhu <[email protected]> * Mirgate kmeans daal to DPC++ (#7) Signed-off-by: minmingzhu <[email protected]> * 1. Mirgate kmeans daal to DPC++ * 2. add unit test * 1. move local host to distributed host 2. add cluster test 3. code style Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update ci-cluster-test.sh * Update ci-cluster-test.sh * Update build.sh * Update build.sh * Update OneDAL.cpp * Update OneDAL.cpp * Update OneDAL.cpp * Update com_intel_oap_mllib_OneDAL__.h * update code style Signed-off-by: minmingzhu <[email protected]> * Update NaiveBayesResult.java * 1. update code style 2. When using the Host/CPU device throws a fail Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * rollback code style Signed-off-by: minmingzhu <[email protected]> * rollback code style Signed-off-by: minmingzhu <[email protected]> * rollback checkstyle.xml Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * rollback checkstyle.xml Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update OneDAL.scala Signed-off-by: minmingzhu <[email protected]> * revert ALS.scala * revert checkstyle.xml * :Revert "revert checkstyle.xml" This reverts commit 4f74bac. * disable cluster test for gpu * disable cluster test for gpu * nit Co-authored-by: minmingz <[email protected]> Co-authored-by: Wu, Xiaochang <[email protected]> * Migrate pca daal to DPC++ (oap-project#223) * 1. add JNI wrapper 2. modify compiler config 3. add unit test Signed-off-by: minmingzhu <[email protected]> * add ci test Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * java code style Signed-off-by: minmingzhu <[email protected]> * cpp code style Signed-off-by: minmingzhu <[email protected]> * Update ci-local-test.sh * Update ci-local-test.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update ci-local-test.sh * Update ci-local-test.sh * Update ci-local-test.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update prepare-build-deps.sh * add convert array, vector to homogentable Signed-off-by: minmingzhu <[email protected]> * 1. rollback ci config 2. remove CI test becaue homogentable only support GPU Signed-off-by: minmingzhu <[email protected]> * 1. update prepare-build-deps.sh Signed-off-by: minmingzhu <[email protected]> * remove ci GPU test Signed-off-by: minmingzhu <[email protected]> * 1. remove GPU CI test Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * update Makefile Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * 1. fix ci Signed-off-by: minmingzhu <[email protected]> * update header Signed-off-by: minmingzhu <[email protected]> * update header Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update ci-cluster-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci conf Signed-off-by: minmingzhu <[email protected]> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <[email protected]> * update ci conf Signed-off-by: minmingzhu <[email protected]> * fix comment Signed-off-by: minmingzhu <[email protected]> * Update build-jni.sh * update Makefile Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update test.sh * Update test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update test.sh * Update test.sh * update test.sh Signed-off-by: minmingzhu <[email protected]> * update test.sh Signed-off-by: minmingzhu <[email protected]> * update test.sh Signed-off-by: minmingzhu <[email protected]> * fix link libze_loader.so.1 Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update ci-local-dpc-test.sh Signed-off-by: minmingzhu <[email protected]> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update Signed-off-by: minmingzhu <[email protected]> * update Makefile Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * Update prepare-build-deps-gpu.sh * Update prepare-build-deps-gpu.sh * Update prepare-build-deps.sh * update ci Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update install-build-level-zero-deps-ubuntun.sh * Update install-build-level-zero-deps-ubuntun.sh * Update install-build-level-zero-deps-ubuntun.sh * Update ci-local-dpc-test.sh * Update GPU.cpp * Update GPU.cpp * Update ci-build-test.sh * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update HomogenTableImpl.cpp Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * Update ci-local-dpc-test.sh * Update ci-local-dpc-test.sh * update HomogenTable API Signed-off-by: minmingzhu <[email protected]> * update install-build-level-zero-deps-ubuntu.sh Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update run.sh * Update build-jni.sh * 1. Merge branch 'make_homogen_table' into convert_homogentable 2. update ci 3. add a new parameters for HomogenTable class Signed-off-by: minmingzhu <[email protected]> * Update pom.xml * Update test.sh * Update Makefile * update Signed-off-by: minmingzhu <[email protected]> * Update ConvertHomogenTableSuite.scala * Update install-level-zero-ubuntu.sh * Update install-level-zero-ubuntu.sh * Update build.sh * Update test.sh * Update test.sh * Update HomogenTableImpl.cpp * Update install-build-deps-ubuntu.sh * Update HomogenTableImpl.cpp * update Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * Update install-build-deps-ubuntu.sh * fix comments Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update list-compute-devices.cpp * Convert homogentable to array/vector/matrix (#4) * 1. convert homogenTable to array/vector/matrix 2. add unit test Signed-off-by: minmingzhu <[email protected]> * Merge branch 'make_homogen_table' into convert_homogentable Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * Convert RDD[Vector]/RDD[LabeledPoint] to HomogenTable (#8) * 1. convert rdd to HomogenTable * 2. add unit test Signed-off-by: minmingzhu <[email protected]> * add empty homogentable Signed-off-by: minmingzhu <[email protected]> * Mirgate kmeans daal to DPC++ (#7) Signed-off-by: minmingzhu <[email protected]> * 1. Mirgate kmeans daal to DPC++ * 2. add unit test * 1. move local host to distributed host 2. add cluster test 3. code style Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update ci-cluster-test.sh * Update ci-cluster-test.sh * Update build.sh * Update build.sh * Update OneDAL.cpp * Update OneDAL.cpp * Update OneDAL.cpp * Update com_intel_oap_mllib_OneDAL__.h * update code style Signed-off-by: minmingzhu <[email protected]> * Update NaiveBayesResult.java * 1. update code style 2. When using the Host/CPU device throws a fail Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * rollback code style Signed-off-by: minmingzhu <[email protected]> * rollback code style Signed-off-by: minmingzhu <[email protected]> * rollback checkstyle.xml Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * rollback checkstyle.xml Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update OneDAL.scala Signed-off-by: minmingzhu <[email protected]> * revert ALS.scala * revert checkstyle.xml * :Revert "revert checkstyle.xml" This reverts commit 4f74bac. * disable cluster test for gpu * disable cluster test for gpu * nit * migrate cpa to DPC++ Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update OutputHelpers.hpp * update com_intel_oap_mllib_feature_PCADALImpl.h Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update PCADALImpl.scala Signed-off-by: minmingzhu <[email protected]> * 1. update function name and variable name Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update stayHomogenTablePtrToVector to saveHomogenTablePtrToVector Signed-off-by: minmingzhu <[email protected]> * change compute_device to ComputeDevice Signed-off-by: minmingzhu <[email protected]> Co-authored-by: minmingz <[email protected]> Co-authored-by: Wu, Xiaochang <[email protected]> * [ML-226] Migrate correlation daal to DPC++ (oap-project#215) * 1. add JNI wrapper 2. modify compiler config 3. add unit test Signed-off-by: minmingzhu <[email protected]> * add ci test Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * java code style Signed-off-by: minmingzhu <[email protected]> * cpp code style Signed-off-by: minmingzhu <[email protected]> * Update ci-local-test.sh * Update ci-local-test.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update ci-local-test.sh * Update ci-local-test.sh * Update ci-local-test.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update install-build-deps-ubuntu.sh * Update prepare-build-deps.sh * add convert array, vector to homogentable Signed-off-by: minmingzhu <[email protected]> * 1. rollback ci config 2. remove CI test becaue homogentable only support GPU Signed-off-by: minmingzhu <[email protected]> * 1. update prepare-build-deps.sh Signed-off-by: minmingzhu <[email protected]> * remove ci GPU test Signed-off-by: minmingzhu <[email protected]> * 1. remove GPU CI test Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * update Makefile Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * 1. fix ci Signed-off-by: minmingzhu <[email protected]> * update header Signed-off-by: minmingzhu <[email protected]> * update header Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update ci-cluster-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci conf Signed-off-by: minmingzhu <[email protected]> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <[email protected]> * update ci conf Signed-off-by: minmingzhu <[email protected]> * fix comment Signed-off-by: minmingzhu <[email protected]> * Update build-jni.sh * update Makefile Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update test.sh * Update test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update test.sh * Update test.sh * update test.sh Signed-off-by: minmingzhu <[email protected]> * update test.sh Signed-off-by: minmingzhu <[email protected]> * update test.sh Signed-off-by: minmingzhu <[email protected]> * fix link libze_loader.so.1 Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update ci-local-dpc-test.sh Signed-off-by: minmingzhu <[email protected]> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update Signed-off-by: minmingzhu <[email protected]> * update Makefile Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * Update prepare-build-deps-gpu.sh * Update prepare-build-deps-gpu.sh * Update prepare-build-deps.sh * update ci Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update install-build-level-zero-deps-ubuntun.sh * Update install-build-level-zero-deps-ubuntun.sh * Update install-build-level-zero-deps-ubuntun.sh * Update ci-local-dpc-test.sh * Update GPU.cpp * Update GPU.cpp * Update ci-build-test.sh * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update HomogenTableImpl.cpp Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * Update ci-local-dpc-test.sh * Update ci-local-dpc-test.sh * update HomogenTable API Signed-off-by: minmingzhu <[email protected]> * update install-build-level-zero-deps-ubuntu.sh Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * update ci Signed-off-by: minmingzhu <[email protected]> * Update run.sh * Update build-jni.sh * 1. Merge branch 'make_homogen_table' into convert_homogentable 2. update ci 3. add a new parameters for HomogenTable class Signed-off-by: minmingzhu <[email protected]> * Update pom.xml * Update test.sh * Update Makefile * update Signed-off-by: minmingzhu <[email protected]> * Update ConvertHomogenTableSuite.scala * Update install-level-zero-ubuntu.sh * Update install-level-zero-ubuntu.sh * Update build.sh * Update test.sh * Update test.sh * Update HomogenTableImpl.cpp * Update install-build-deps-ubuntu.sh * Update HomogenTableImpl.cpp * update Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * Update install-build-deps-ubuntu.sh * fix comments Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update list-compute-devices.cpp * Convert homogentable to array/vector/matrix (#4) * 1. convert homogenTable to array/vector/matrix 2. add unit test Signed-off-by: minmingzhu <[email protected]> * Merge branch 'make_homogen_table' into convert_homogentable Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * Convert RDD[Vector]/RDD[LabeledPoint] to HomogenTable (#8) * 1. convert rdd to HomogenTable * 2. add unit test Signed-off-by: minmingzhu <[email protected]> * add empty homogentable Signed-off-by: minmingzhu <[email protected]> * Mirgate kmeans daal to DPC++ (#7) Signed-off-by: minmingzhu <[email protected]> * 1. Mirgate kmeans daal to DPC++ * 2. add unit test * 1. migrate pca to DPC++ 2. add unit test Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * normalize data Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * 1. migrate correlation to DPC++ interface 2. add unit test Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * 1. move local host to distributed host 2. add cluster test 3. code style Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update ci-cluster-test.sh * Update ci-cluster-test.sh * Update build.sh * Update build.sh * Update OneDAL.cpp * Update OneDAL.cpp * Update OneDAL.cpp * Update com_intel_oap_mllib_OneDAL__.h * update code style Signed-off-by: minmingzhu <[email protected]> * Update NaiveBayesResult.java * 1. update code style 2. When using the Host/CPU device throws a fail Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * rollback code style Signed-off-by: minmingzhu <[email protected]> * rollback code style Signed-off-by: minmingzhu <[email protected]> * rollback checkstyle.xml Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * rollback checkstyle.xml Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update OneDAL.scala Signed-off-by: minmingzhu <[email protected]> * revert ALS.scala * revert checkstyle.xml * :Revert "revert checkstyle.xml" This reverts commit 4f74bac. * disable cluster test for gpu * disable cluster test for gpu * nit * migrate cpa to DPC++ Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update OutputHelpers.hpp * update com_intel_oap_mllib_feature_PCADALImpl.h Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update PCADALImpl.scala Signed-off-by: minmingzhu <[email protected]> * 1. update function name and variable name Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update stayHomogenTablePtrToVector to saveHomogenTablePtrToVector Signed-off-by: minmingzhu <[email protected]> * change compute_device to ComputeDevice Signed-off-by: minmingzhu <[email protected]> * 1. migrate pca to DPC++ 2. add unit test Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * normalize data Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * 1. migrate correlation to DPC++ interface 2. add unit test Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * Update prepare-build-deps-gpu.sh * update Signed-off-by: minmingzhu <[email protected]> * Update Makefile * Update OutputHelpers.hpp * Update PCAOneAPIImpl.cpp * Update service.h * update Signed-off-by: minmingzhu <[email protected]> * Update OneDAL.scala * Update PCADALImpl.scala * Update KmeansHomogenTableSuite.scala * Update TestCommon.scala * Update test.sh * update Signed-off-by: minmingzhu <[email protected]> * fix comments Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> Signed-off-by: minmingzhu <[email protected]> Co-authored-by: minmingz <[email protected]> Co-authored-by: Wu, Xiaochang <[email protected]> * [ML-227] Migrate moments daal to DPC++ (oap-project#229) * add low order moments Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * rename unit filename Signed-off-by: minmingzhu <[email protected]> Signed-off-by: minmingzhu <[email protected]> * change select_device to assign gpus Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * update GPU.cpp Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update GPU.cpp Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * update Signed-off-by: minmingzhu <[email protected]> * oneccl clean Signed-off-by: minmingzhu <[email protected]> * data cache Signed-off-by: minmingzhu <[email protected]> * data cache Signed-off-by: minmingzhu <[email protected]> * data cache Signed-off-by: minmingzhu <[email protected]> * update scala style Signed-off-by: minmingzhu <[email protected]> * 1. update output 2. rollback adjustment cache Signed-off-by: minmingzhu <[email protected]> * update PCA.scala Signed-off-by: minmingzhu <[email protected]> * update output Signed-off-by: minmingzhu <[email protected]> * update code style Signed-off-by: minmingzhu <[email protected]> * Refactor header file references Signed-off-by: minmingzhu <[email protected]> * rename cpp Signed-off-by: minmingzhu <[email protected]> --------- Signed-off-by: minmingzhu <[email protected]> Co-authored-by: minmingz <[email protected]> Co-authored-by: Wu, Xiaochang <[email protected]>
What changes were proposed in this pull request?
Used a fixed GPU instead of select_device function