oneDAL icon indicating copy to clipboard operation
oneDAL copied to clipboard

Bugfix in getIndexNumType function

Open DhanusML opened this issue 1 month ago • 1 comments

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).

  1. assoc_rules_apriori_batch
  2. cd_dense_batch
  3. cor_dense_distr
  4. cor_dense_online
  5. cov_dense_distr
  6. cov_dense_online
  7. elastic_net_dense_batch
  8. lasso_reg_dense_batch
  9. low_order_moms_csr_distr
  10. low_order_moms_csr_online
  11. low_order_moms_dense_distr
  12. low_order_moms_dense_online
  13. pivoted_qr_dense_batch

DhanusML avatar May 13 '24 14:05 DhanusML