MCPcopy Create free account
hub / github.com/pydata/numexpr / PySet_vml_num_threads

Function PySet_vml_num_threads

numexpr3/module.cpp:356–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354PyDoc_STRVAR(SetVMLNumThreads__doc__,
355"Suggests a maximum number of threads to be used in VML operations.\n");
356static PyObject*
357PySet_vml_num_threads(PyObject *self, PyObject *args) {
358 int max_num_threads;
359 if (!PyArg_ParseTuple(args, "i", &max_num_threads))
360 return NULL;
361 mkl_domain_set_num_threads(max_num_threads, MKL_DOMAIN_VML);
362 Py_RETURN_NONE;
363}
364
365#endif
366

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…