-
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 <minming.zhu@intel.com> * add ci test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * java code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * cpp code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * 1. rollback ci config 2. remove CI test becaue homogentable only support GPU Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. update prepare-build-deps.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * remove ci GPU test Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. remove GPU CI test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Makefile Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. fix ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update header Signed-off-by: minmingzhu <minming.zhu@intel.com> * update header Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-cluster-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci conf Signed-off-by: minmingzhu <minming.zhu@intel.com> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci conf Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comment Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update build-jni.sh * update Makefile Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update test.sh * Update test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update test.sh * Update test.sh * update test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix link libze_loader.so.1 Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci-local-dpc-test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Makefile Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update HomogenTableImpl.cpp Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update install-build-level-zero-deps-ubuntu.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Update pom.xml * Update test.sh * Update Makefile * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update install-build-deps-ubuntu.sh * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Merge branch 'make_homogen_table' into convert_homogentable Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * Convert RDD[Vector]/RDD[LabeledPoint] to HomogenTable (#8) * 1. convert rdd to HomogenTable * 2. add unit test Signed-off-by: minmingzhu <minming.zhu@intel.com> * add empty homogentable Signed-off-by: minmingzhu <minming.zhu@intel.com> * Mirgate kmeans daal to DPC++ (#7) Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Update NaiveBayesResult.java * 1. update code style 2. When using the Host/CPU device throws a fail Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback checkstyle.xml Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback checkstyle.xml Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update OneDAL.scala Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@inte.com> Co-authored-by: Wu, Xiaochang <xiaochang.wu@intel.com>
* 1. add JNI wrapper 2. modify compiler config 3. add unit test Signed-off-by: minmingzhu <minming.zhu@intel.com> * add ci test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * java code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * cpp code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * 1. rollback ci config 2. remove CI test becaue homogentable only support GPU Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. update prepare-build-deps.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * remove ci GPU test Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. remove GPU CI test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Makefile Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. fix ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update header Signed-off-by: minmingzhu <minming.zhu@intel.com> * update header Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-cluster-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci conf Signed-off-by: minmingzhu <minming.zhu@intel.com> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci conf Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comment Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update build-jni.sh * update Makefile Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update test.sh * Update test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update test.sh * Update test.sh * update test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix link libze_loader.so.1 Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci-local-dpc-test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Makefile Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update HomogenTableImpl.cpp Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update install-build-level-zero-deps-ubuntu.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Update pom.xml * Update test.sh * Update Makefile * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update install-build-deps-ubuntu.sh * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Merge branch 'make_homogen_table' into convert_homogentable Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * Convert RDD[Vector]/RDD[LabeledPoint] to HomogenTable (#8) * 1. convert rdd to HomogenTable * 2. add unit test Signed-off-by: minmingzhu <minming.zhu@intel.com> * add empty homogentable Signed-off-by: minmingzhu <minming.zhu@intel.com> * Mirgate kmeans daal to DPC++ (#7) Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Update NaiveBayesResult.java * 1. update code style 2. When using the Host/CPU device throws a fail Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback checkstyle.xml Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback checkstyle.xml Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update OneDAL.scala Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update OutputHelpers.hpp * update com_intel_oap_mllib_feature_PCADALImpl.h Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update PCADALImpl.scala Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. update function name and variable name Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update stayHomogenTablePtrToVector to saveHomogenTablePtrToVector Signed-off-by: minmingzhu <minming.zhu@intel.com> * change compute_device to ComputeDevice Signed-off-by: minmingzhu <minming.zhu@intel.com> Co-authored-by: minmingz <minming.zhu@inte.com> Co-authored-by: Wu, Xiaochang <xiaochang.wu@intel.com>
* 1. add JNI wrapper 2. modify compiler config 3. add unit test Signed-off-by: minmingzhu <minming.zhu@intel.com> * add ci test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * java code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * cpp code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * 1. rollback ci config 2. remove CI test becaue homogentable only support GPU Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. update prepare-build-deps.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * remove ci GPU test Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. remove GPU CI test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Makefile Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. fix ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update header Signed-off-by: minmingzhu <minming.zhu@intel.com> * update header Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-cluster-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci conf Signed-off-by: minmingzhu <minming.zhu@intel.com> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci conf Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comment Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update build-jni.sh * update Makefile Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update test.sh * Update test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update test.sh * Update test.sh * update test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix link libze_loader.so.1 Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci-local-dpc-test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Makefile Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update HomogenTableImpl.cpp Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update install-build-level-zero-deps-ubuntu.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Update pom.xml * Update test.sh * Update Makefile * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update install-build-deps-ubuntu.sh * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Merge branch 'make_homogen_table' into convert_homogentable Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * Convert RDD[Vector]/RDD[LabeledPoint] to HomogenTable (#8) * 1. convert rdd to HomogenTable * 2. add unit test Signed-off-by: minmingzhu <minming.zhu@intel.com> * add empty homogentable Signed-off-by: minmingzhu <minming.zhu@intel.com> * Mirgate kmeans daal to DPC++ (#7) Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. Mirgate kmeans daal to DPC++ * 2. add unit test * 1. migrate pca to DPC++ 2. add unit test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * normalize data Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. migrate correlation to DPC++ interface 2. add unit test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. move local host to distributed host 2. add cluster test 3. code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Update NaiveBayesResult.java * 1. update code style 2. When using the Host/CPU device throws a fail Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback checkstyle.xml Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback checkstyle.xml Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update OneDAL.scala Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update OutputHelpers.hpp * update com_intel_oap_mllib_feature_PCADALImpl.h Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update PCADALImpl.scala Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. update function name and variable name Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update stayHomogenTablePtrToVector to saveHomogenTablePtrToVector Signed-off-by: minmingzhu <minming.zhu@intel.com> * change compute_device to ComputeDevice Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. migrate pca to DPC++ 2. add unit test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * normalize data Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. migrate correlation to DPC++ interface 2. add unit test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update prepare-build-deps-gpu.sh * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update Makefile * Update OutputHelpers.hpp * Update PCAOneAPIImpl.cpp * Update service.h * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update OneDAL.scala * Update PCADALImpl.scala * Update KmeansHomogenTableSuite.scala * Update TestCommon.scala * Update test.sh * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> Signed-off-by: minmingzhu <minming.zhu@intel.com> Co-authored-by: minmingz <minming.zhu@inte.com> Co-authored-by: Wu, Xiaochang <xiaochang.wu@intel.com>
* add low order moments Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * rename unit filename Signed-off-by: minmingzhu <minming.zhu@intel.com> Signed-off-by: minmingzhu <minming.zhu@intel.com>
Signed-off-by: minmingzhu <minming.zhu@intel.com>
Signed-off-by: minmingzhu <minming.zhu@intel.com>
Signed-off-by: minmingzhu <minming.zhu@intel.com>
Signed-off-by: minmingzhu <minming.zhu@intel.com>
Signed-off-by: minmingzhu <minming.zhu@intel.com>
Signed-off-by: minmingzhu <minming.zhu@intel.com>
Signed-off-by: minmingzhu <minming.zhu@intel.com>
Signed-off-by: minmingzhu <minming.zhu@intel.com>
Signed-off-by: minmingzhu <minming.zhu@intel.com>
2. rollback adjustment cache Signed-off-by: minmingzhu <minming.zhu@intel.com>
Signed-off-by: minmingzhu <minming.zhu@intel.com>
Signed-off-by: minmingzhu <minming.zhu@intel.com>
Signed-off-by: minmingzhu <minming.zhu@intel.com>
Signed-off-by: minmingzhu <minming.zhu@intel.com>
Signed-off-by: minmingzhu <minming.zhu@intel.com>
… 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 <minming.zhu@intel.com> * add ci test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * java code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * cpp code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * 1. rollback ci config 2. remove CI test becaue homogentable only support GPU Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. update prepare-build-deps.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * remove ci GPU test Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. remove GPU CI test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Makefile Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. fix ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update header Signed-off-by: minmingzhu <minming.zhu@intel.com> * update header Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-cluster-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci conf Signed-off-by: minmingzhu <minming.zhu@intel.com> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci conf Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comment Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update build-jni.sh * update Makefile Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update test.sh * Update test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update test.sh * Update test.sh * update test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix link libze_loader.so.1 Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci-local-dpc-test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Makefile Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update HomogenTableImpl.cpp Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update install-build-level-zero-deps-ubuntu.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Update pom.xml * Update test.sh * Update Makefile * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update install-build-deps-ubuntu.sh * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Merge branch 'make_homogen_table' into convert_homogentable Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * Convert RDD[Vector]/RDD[LabeledPoint] to HomogenTable (#8) * 1. convert rdd to HomogenTable * 2. add unit test Signed-off-by: minmingzhu <minming.zhu@intel.com> * add empty homogentable Signed-off-by: minmingzhu <minming.zhu@intel.com> * Mirgate kmeans daal to DPC++ (#7) Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Update NaiveBayesResult.java * 1. update code style 2. When using the Host/CPU device throws a fail Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback checkstyle.xml Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback checkstyle.xml Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update OneDAL.scala Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@inte.com> Co-authored-by: Wu, Xiaochang <xiaochang.wu@intel.com> * Migrate pca daal to DPC++ (oap-project#223) * 1. add JNI wrapper 2. modify compiler config 3. add unit test Signed-off-by: minmingzhu <minming.zhu@intel.com> * add ci test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * java code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * cpp code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * 1. rollback ci config 2. remove CI test becaue homogentable only support GPU Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. update prepare-build-deps.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * remove ci GPU test Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. remove GPU CI test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Makefile Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. fix ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update header Signed-off-by: minmingzhu <minming.zhu@intel.com> * update header Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-cluster-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci conf Signed-off-by: minmingzhu <minming.zhu@intel.com> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci conf Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comment Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update build-jni.sh * update Makefile Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update test.sh * Update test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update test.sh * Update test.sh * update test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix link libze_loader.so.1 Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci-local-dpc-test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Makefile Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update HomogenTableImpl.cpp Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update install-build-level-zero-deps-ubuntu.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Update pom.xml * Update test.sh * Update Makefile * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update install-build-deps-ubuntu.sh * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Merge branch 'make_homogen_table' into convert_homogentable Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * Convert RDD[Vector]/RDD[LabeledPoint] to HomogenTable (#8) * 1. convert rdd to HomogenTable * 2. add unit test Signed-off-by: minmingzhu <minming.zhu@intel.com> * add empty homogentable Signed-off-by: minmingzhu <minming.zhu@intel.com> * Mirgate kmeans daal to DPC++ (#7) Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Update NaiveBayesResult.java * 1. update code style 2. When using the Host/CPU device throws a fail Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback checkstyle.xml Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback checkstyle.xml Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update OneDAL.scala Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update OutputHelpers.hpp * update com_intel_oap_mllib_feature_PCADALImpl.h Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update PCADALImpl.scala Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. update function name and variable name Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update stayHomogenTablePtrToVector to saveHomogenTablePtrToVector Signed-off-by: minmingzhu <minming.zhu@intel.com> * change compute_device to ComputeDevice Signed-off-by: minmingzhu <minming.zhu@intel.com> Co-authored-by: minmingz <minming.zhu@inte.com> Co-authored-by: Wu, Xiaochang <xiaochang.wu@intel.com> * [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 <minming.zhu@intel.com> * add ci test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * java code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * cpp code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * 1. rollback ci config 2. remove CI test becaue homogentable only support GPU Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. update prepare-build-deps.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * remove ci GPU test Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. remove GPU CI test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Makefile Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. fix ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update header Signed-off-by: minmingzhu <minming.zhu@intel.com> * update header Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-cluster-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci conf Signed-off-by: minmingzhu <minming.zhu@intel.com> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci conf Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comment Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update build-jni.sh * update Makefile Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update test.sh * Update test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update test.sh * Update test.sh * update test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix link libze_loader.so.1 Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci-local-dpc-test.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update oneapi to 2022.1.2 Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Makefile Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update HomogenTableImpl.cpp Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update install-build-level-zero-deps-ubuntu.sh Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update ci-local-dpc-test.sh * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * update ci Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Update pom.xml * Update test.sh * Update Makefile * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update install-build-deps-ubuntu.sh * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Merge branch 'make_homogen_table' into convert_homogentable Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * Convert RDD[Vector]/RDD[LabeledPoint] to HomogenTable (#8) * 1. convert rdd to HomogenTable * 2. add unit test Signed-off-by: minmingzhu <minming.zhu@intel.com> * add empty homogentable Signed-off-by: minmingzhu <minming.zhu@intel.com> * Mirgate kmeans daal to DPC++ (#7) Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. Mirgate kmeans daal to DPC++ * 2. add unit test * 1. migrate pca to DPC++ 2. add unit test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * normalize data Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. migrate correlation to DPC++ interface 2. add unit test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. move local host to distributed host 2. add cluster test 3. code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * Update NaiveBayesResult.java * 1. update code style 2. When using the Host/CPU device throws a fail Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback checkstyle.xml Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * rollback checkstyle.xml Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update OneDAL.scala Signed-off-by: minmingzhu <minming.zhu@intel.com> * 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 <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update OutputHelpers.hpp * update com_intel_oap_mllib_feature_PCADALImpl.h Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update PCADALImpl.scala Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. update function name and variable name Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update stayHomogenTablePtrToVector to saveHomogenTablePtrToVector Signed-off-by: minmingzhu <minming.zhu@intel.com> * change compute_device to ComputeDevice Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. migrate pca to DPC++ 2. add unit test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * normalize data Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. migrate correlation to DPC++ interface 2. add unit test Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update prepare-build-deps-gpu.sh * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update Makefile * Update OutputHelpers.hpp * Update PCAOneAPIImpl.cpp * Update service.h * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * Update OneDAL.scala * Update PCADALImpl.scala * Update KmeansHomogenTableSuite.scala * Update TestCommon.scala * Update test.sh * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * fix comments Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> Signed-off-by: minmingzhu <minming.zhu@intel.com> Co-authored-by: minmingz <minming.zhu@inte.com> Co-authored-by: Wu, Xiaochang <xiaochang.wu@intel.com> * [ML-227] Migrate moments daal to DPC++ (oap-project#229) * add low order moments Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * rename unit filename Signed-off-by: minmingzhu <minming.zhu@intel.com> Signed-off-by: minmingzhu <minming.zhu@intel.com> * change select_device to assign gpus Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * update GPU.cpp Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update GPU.cpp Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * update Signed-off-by: minmingzhu <minming.zhu@intel.com> * oneccl clean Signed-off-by: minmingzhu <minming.zhu@intel.com> * data cache Signed-off-by: minmingzhu <minming.zhu@intel.com> * data cache Signed-off-by: minmingzhu <minming.zhu@intel.com> * data cache Signed-off-by: minmingzhu <minming.zhu@intel.com> * update scala style Signed-off-by: minmingzhu <minming.zhu@intel.com> * 1. update output 2. rollback adjustment cache Signed-off-by: minmingzhu <minming.zhu@intel.com> * update PCA.scala Signed-off-by: minmingzhu <minming.zhu@intel.com> * update output Signed-off-by: minmingzhu <minming.zhu@intel.com> * update code style Signed-off-by: minmingzhu <minming.zhu@intel.com> * Refactor header file references Signed-off-by: minmingzhu <minming.zhu@intel.com> * rename cpp Signed-off-by: minmingzhu <minming.zhu@intel.com> --------- Signed-off-by: minmingzhu <minming.zhu@intel.com> Co-authored-by: minmingz <minming.zhu@inte.com> Co-authored-by: Wu, Xiaochang <xiaochang.wu@intel.com>
What changes were proposed in this pull request?
Used a fixed GPU instead of select_device function