In R how to control multi-threading in BLAS parallel matrix product

后端 未结 1 1226
别跟我提以往
别跟我提以往 2021-01-13 12:34

I have a question regarding the use of BLAS parallelized matrix product in R (being the default matrix product at least since R-3.4, maybe earlier).

The default beha

相关标签:
1条回答
  • 2021-01-13 13:12

    The package RhpcBLASctl does just that.

    From its DESCRIPTION:

    Control the number of threads on 'BLAS' (Aka 'GotoBLAS', 'ACML' and 'MKL'). and possible to control the number of threads in 'OpenMP'. get a number of logical cores and physical cores if feasible.

    We mention it in the CRAN Task View on HPC.

    0 讨论(0)
提交回复
热议问题