We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daca016 commit 8668571Copy full SHA for 8668571
cblas.h
@@ -28,6 +28,8 @@ char* openblas_get_corename(void);
28
#ifdef OPENBLAS_OS_LINUX
29
/* Sets thread affinity for OpenBLAS threads. `thread_idx` is in [0, openblas_get_num_threads()-1]. */
30
int openblas_setaffinity(int thread_idx, size_t cpusetsize, cpu_set_t* cpu_set);
31
+/* Queries thread affinity for OpenBLAS threads. `thread_idx` is in [0, openblas_get_num_threads()-1]. */
32
+int openblas_getaffinity(int thread_idx, size_t cpusetsize, cpu_set_t* cpu_set);
33
#endif
34
35
/* Get the parallelization type which is used by OpenBLAS */
0 commit comments