einsums::blas::get_num_threads_this_thread#

Note

Generated from the C++ headers by apiary --emit-cpp-docs-json.

Defined in header Einsums/BLAS/ThreadControl.hpp.

int get_num_threads_this_thread()#

Threads the linked BLAS would currently use on the calling thread.

So set_num_threads_this_thread can be verified. 0 when the vendor cannot be asked.

Added in version 2.0.0.

Returns:

The vendor’s thread count for this thread, or 0 if unknown.