MAINT: Add syrk

This commit is contained in:
Rohit Goswami 2024-05-20 00:16:20 +00:00 committed by Mateusz Sokół
parent fe38ef70ed
commit e5564ec450
2 changed files with 25 additions and 1 deletions

View File

@ -134,6 +134,30 @@ driver_kops = [
'_LN', '_LT']},
}
},
{ 'base': '?syrk_thread',
'sources': {
'syrk_k.c': {'mode': ['s', 'd', # 'q'],
'c', 'z'], # 'x'],
'addl': ['-DTHREADED_LEVEL3'],
'exts': ['_UN', '_UT',
'_LN', '_LT', '']},
}
},
{ 'base': '?syrk_kernel',
'sources': {
'syrk_kernel.c': {'mode': ['s', 'd', # 'q'],
'c', 'z'], # 'x'],
'exts': ['_U', '_L']},
}
},
{ 'base': '?syr2k',
'sources': {
'syr2k_k.c': {'mode': ['s', 'd', # 'q'],
'c', 'z'], # 'x'],
'exts': ['_UN', '_UT',
'_LN', '_LT']},
}
},
]
# Initialize kernel configurations list

View File

@ -268,7 +268,7 @@ ext_mappings = {
# '_V': {'def': ['XCONJ'], 'undef': ['CONJ']},
'_D': {'def': ['CONJ', 'XCONJ']},
'_L': {'def': ['LOWER']},
'_LN': {'def': ['LEFT'], 'undef': ['TRANSA'], 'except': ['?syrk']},
'_LN': {'def': ['LEFT'], 'undef': ['TRANSA'], 'except': ['?syrk', '?syrk_thread', '?syr2k']},
# Handle HEMV and HEMVREV better
'_V': {'def': ['HEMV', 'HEMVREV', 'XCONJ'], 'undef': ['LOWER', 'CONJ']},
'_M': {'def': ['HEMV', 'HEMVREV', 'LOWER']},