oneDAL
oneDAL copied to clipboard
Bugfix in getIndexNumType function
Description
daal::data_management::features::internal::getIndexNumType<unsigned long>
is used by other functions that perform type conversions. This function was disabled for non x86_64 devices (when __x86_64__
is not defined). This PR modifies adds more conditions in the macro to enable this for aarch64 and riscv64.
This change fixes the following examples that were failing on aarch64, when tested on Graviton3 (openblas,+gcc build).
- assoc_rules_apriori_batch
- cd_dense_batch
- cor_dense_distr
- cor_dense_online
- cov_dense_distr
- cov_dense_online
- elastic_net_dense_batch
- lasso_reg_dense_batch
- low_order_moms_csr_distr
- low_order_moms_csr_online
- low_order_moms_dense_distr
- low_order_moms_dense_online
- pivoted_qr_dense_batch
/intelci: run
@Alexandr-Solovev does anything in internal CI need fixing?
Hi @rakshithgb-fujitsu The internal ci is fine! Thanks for the pr!