mkl_get_nthreads

  • full name: tenpy.tools.process.mkl_get_nthreads

  • parent module: tenpy.tools.process

  • type: function

tenpy.tools.process.mkl_get_nthreads()[source]

wrapper around MKL get_max_threads.

Returns:

max_threads – The maximum number of threads used by MKL. -1 if unable to read out.

Return type:

int