MAINT: Minor refactors to have common precisions
This commit is contained in:
parent
bc966e1209
commit
85db158f02
|
@ -322,6 +322,7 @@ base_kops = [
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
# TODO: Handle the i*amax style
|
||||||
{'base': 'axpby',
|
{'base': 'axpby',
|
||||||
'modes': {'s': {'dir': 'arm', 'kernel': 'axpby.c', 'exts': ['_k']},
|
'modes': {'s': {'dir': 'arm', 'kernel': 'axpby.c', 'exts': ['_k']},
|
||||||
'd': {'dir': 'arm', 'kernel': 'axpby.c', 'exts': ['_k']},
|
'd': {'dir': 'arm', 'kernel': 'axpby.c', 'exts': ['_k']},
|
||||||
|
|
|
@ -251,6 +251,15 @@ else
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Common maps
|
||||||
|
precision_mappings = {
|
||||||
|
's': {'undef': ['COMPLEX', 'DOUBLE'], 'def': []},
|
||||||
|
'd': {'undef': ['COMPLEX'], 'def': ['DOUBLE']},
|
||||||
|
'q': {'undef': ['COMPLEX'], 'def': ['XDOUBLE']},
|
||||||
|
'c': {'undef': ['DOUBLE'], 'def': ['COMPLEX']},
|
||||||
|
'z': {'undef': [], 'def': ['COMPLEX', 'DOUBLE']},
|
||||||
|
'x': {'undef': [], 'def': ['COMPLEX', 'XDOUBLE']},
|
||||||
|
}
|
||||||
|
|
||||||
# Ignoring other hostarch checks and conflicts for arch in BSD for now
|
# Ignoring other hostarch checks and conflicts for arch in BSD for now
|
||||||
_inc = include_directories('.')
|
_inc = include_directories('.')
|
||||||
|
|
Loading…
Reference in New Issue