pttools.speedup.tbb

A fix for loading Intel Thread Building Blocks (TBB) for Numba

https://github.com/numba/numba/issues/7531

Based on numba.np.ufunc.parallel._check_tbb_version_compatible()

Functions

pttools.speedup.tbb.get_tbb_version(path=None)

Get TBB library version

Parameters:

path (str)

pttools.speedup.tbb.load_tbb()

Update environment variables so that the proper TBB is found

This may not work https://stackoverflow.com/a/52408140

Return type:

int | None