Skip to content

Commit

Permalink
fix for naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr-Solovev committed Sep 24, 2024
1 parent 9e93ab5 commit e91b16a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/daal/src/externals/service_service_mkl.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ struct MklService

static int serv_get_ncorespercpu()
{
unsigned int nlogicalcpu = daal::services::internal::_internal_daal_GetSysLogicalProcessorCount();
unsigned int nlogicalcpu = daal::services::internal::_internal_daal_GetProcessorCoreCount();
unsigned int ncpus = serv_get_ncpus();
return (ncpus > 0 && nlogicalcpu > 0 && nlogicalcpu > ncpus ? nlogicalcpu / ncpus : 1);
}
Expand Down

0 comments on commit e91b16a

Please sign in to comment.