RfastOfficial / Rfast

A collection of Rfast functions for data analysis. Note 1: The vast majority of the functions accept matrices only, not data.frames. Note 2: Do not have matrices or vectors with have missing data (i.e NAs). We do no check about them and C++ internally transforms them into zeros (0), so you may get wrong results. Note 3: In general, make sure you give the correct input, in order to get the correct output. We do no checks and this is one of the many reasons we are fast.
139 stars 19 forks source link

multi-thread support #46

Closed waynelapierre closed 2 years ago

waynelapierre commented 3 years ago

Is your feature request related to a problem? Please describe. The functions in Rfast seem to use only one core. It would be great if multi-thread support will be added.

Describe the solution you'd like Using OpenMP or RcppParallel would be the two approaches that I can think of.

Describe alternatives you've considered Multi-thread support at R level by using the future.apply package seems OK but it does not always work on Windows OS.

ManosPapadakis95 commented 3 years ago

The functions already use multi threaded using OpenMP library. Why do you think only one core is used?