Commit 59b713e
committed
Use the properly-capitalized C-ABI MKL threading interface
It appears that the all-lowercase threading symbols are actually all
FORTRAN ABI, as can be seen through `dlsym()`:
```
julia> dlsym(libmkl_rt, "mkl_set_num_threads")
Ptr{Nothing} @0x00007fa64f24e3b0
julia> dlsym(libmkl_rt, "mkl_set_num_threads_")
Ptr{Nothing} @0x00007fa64f24e3b0
```
The C-ABI versions are not the non-underscore-suffixed ones, but the
capitalized ones, e.g. `MKL_Set_Num_Threads`. The more you know.1 parent e132e64 commit 59b713e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments