@@ -30,28 +30,21 @@ ctypedef int MKL_INT
30
30
31
31
32
32
cdef extern from " mkl.h" :
33
- # int mkl_domain_set_num_threads(int nt, int domain)
34
- # int mkl_domain_get_max_threads(int domain)
35
- # In
33
+ # MKL Function Domains Constants
36
34
int MKL_DOMAIN_BLAS
37
35
int MKL_DOMAIN_FFT
38
36
int MKL_DOMAIN_VML
39
37
int MKL_DOMAIN_PARDISO
40
38
int MKL_DOMAIN_ALL
41
39
42
- # MKL_INT64 mkl_peak_mem_usage(int mode)
43
- # In
40
+ # MKL Peak Memory Usage Constants
44
41
int MKL_PEAK_MEM_ENABLE
45
42
int MKL_PEAK_MEM_DISABLE
46
43
int MKL_PEAK_MEM
47
44
int MKL_PEAK_MEM_RESET
48
-
49
- # int mkl_set_memory_limit(int mem_type, size_t limit)
50
- # In
51
45
int MKL_MEM_MCDRAM
52
46
53
- # int mkl_cbwr_set(int settings)
54
- # In
47
+ # CNR Control Constants
55
48
int MKL_CBWR_AUTO
56
49
int MKL_CBWR_COMPATIBLE
57
50
int MKL_CBWR_SSE2
@@ -63,35 +56,29 @@ cdef extern from "mkl.h":
63
56
int MKL_CBWR_AVX2
64
57
int MKL_CBWR_AVX512_MIC
65
58
int MKL_CBWR_AVX512
66
- # Out
59
+ int MKL_CBWR_BRANCH
60
+ int MKL_CBWR_ALL
67
61
int MKL_CBWR_SUCCESS
62
+ int MKL_CBWR_BRANCH_OFF
68
63
int MKL_CBWR_ERR_INVALID_INPUT
69
64
int MKL_CBWR_ERR_UNSUPPORTED_BRANCH
70
65
int MKL_CBWR_ERR_MODE_CHANGE_FAILURE
71
66
72
- # int mkl_cbwr_get(int option)
73
- # In
74
- int MKL_CBWR_BRANCH
75
- int MKL_CBWR_ALL
76
- # Out
77
- int MKL_CBWR_BRANCH_OFF
78
-
79
- # int mkl_enable_instructions(int isa)
80
- # In
67
+ # ISA Constants
81
68
int MKL_ENABLE_AVX512_MIC_E1
82
69
int MKL_ENABLE_AVX512
83
70
int MKL_ENABLE_AVX512_MIC
84
71
int MKL_ENABLE_AVX2
85
72
int MKL_ENABLE_AVX
86
73
int MKL_ENABLE_SSE4_2
87
74
75
+ # MPI Implementation Constants
88
76
int MKL_BLACS_CUSTOM
89
77
int MKL_BLACS_MSMPI
90
78
int MKL_BLACS_INTELMPI
91
79
int MKL_BLACS_MPICH2
92
80
93
- # unsigned int vmlSetMode(unsigned int mode)
94
- # In
81
+ # VML Constants
95
82
int VML_HA
96
83
int VML_LA
97
84
int VML_EP
@@ -103,9 +90,6 @@ cdef extern from "mkl.h":
103
90
int VML_ERRMODE_EXCEPT
104
91
int VML_ERRMODE_CALLBACK
105
92
int VML_ERRMODE_DEFAULT
106
-
107
- # int vmlSetErrStatus(const MKL_INT status)
108
- # In
109
93
int VML_STATUS_OK
110
94
int VML_STATUS_ACCURACYWARNING
111
95
int VML_STATUS_BADSIZE
@@ -114,9 +98,6 @@ cdef extern from "mkl.h":
114
98
int VML_STATUS_SING
115
99
int VML_STATUS_OVERFLOW
116
100
int VML_STATUS_UNDERFLOW
117
-
118
- # unsigned int vmlGetMode()
119
- # Mask
120
101
int VML_ACCURACY_MASK
121
102
int VML_FTZDAZ_MASK
122
103
int VML_ERRMODE_MASK
0 commit comments