Intel® oneAPI Data Analytics Library
Community support for building compute-intensive applications that run fast on Intel® architecture.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
210 Discussions

Do I get the same performance when using the C++ API and the Java API?

Ying_H_Intel
Employee
177 Views

 

Do I get the same performance when using the C++ API and the Java API?

0 Kudos
1 Reply
Ilya_B_Intel
Employee
177 Views

Computation kernels used for C++ and Java are the same, thus performance of computation intensive algorithms is comparable.

At the same time, there are kernels which performance is highly influenced by data layout and for ideal layout limited by memory bandwidth. An example of such algorithms is training of Multinomial Naïve Bayes. In those cases C++ and Java performance may differ significantly and the main factor will be particular memory layout.

We provide performance considerations on algorithm-by-algorithm basis in programming guide.

General recommendation is using provided DataSources where applicable to achieve optimal performance.

Reply