| commit | 1a3920e5dc546803ec8ada369ff1b0d56cf24e76 | [log] [tgz] |
|---|---|---|
| author | Sam Gross <sgross@fb.com> | Mon Oct 17 10:09:10 2016 -0700 |
| committer | Sam Gross <sgross@fb.com> | Mon Oct 17 10:09:10 2016 -0700 |
| tree | 0401fced5e7f98194d91d32ad9eeabf7be87b34b | |
| parent | 38cb3d02270b9e558a891a9a2bef01a75d1bd9e1 [diff] |
Expose OpenMP num threads through TH lib Expose omp_set_num_threads and similar APIs through the TH lib. This means a third-party libaries using TH don't need to be compiled with OpenMP support just to control the number of TH OMP threads.