Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 647fc8c4 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

subs: add missing rules for mixed-precision

parent 0aa032c5
No related branches found
No related tags found
1 merge request!344Mixed Precision: Make sure the mixed precision conversion files are correctly handled during the compilation
...@@ -50,16 +50,18 @@ subs = { ...@@ -50,16 +50,18 @@ subs = {
# ------------------------------------------------------------ # ------------------------------------------------------------
# replacements applied to mixed precision files. # replacements applied to mixed precision files.
'mixed' : [ 'mixed' : [
('dstile', 'zctile' ),
# double/single, double/single-complex # double/single, double/single-complex
#'12345678901234567890', '12345678901234567890') #'12345678901234567890', '12345678901234567890')
(r'\bdouble', r'\bCHAMELEON_Complex64_t'), (r'\bdouble', r'\bCHAMELEON_Complex64_t'),
(r'\bChamRealDouble', r'\bChamComplexDouble' ), (r'\bChamRealDouble', r'\bChamComplexDouble' ),
(r'\bfloat', r'\bCHAMELEON_Complex32_t'), (r'\bfloat', r'\bCHAMELEON_Complex32_t'),
(r'\bChamRealFloat', r'\bChamComplexFloat' ), (r'\bChamRealFloat', r'\bChamComplexFloat' ),
(r'\breal\b', r'\bcomplex\b' ), (r'\breal\b', r'\bcomplex\b' ),
('dsgels', 'zcgels' ), ('dsgels', 'zcgels' ),
('dsorgesv', 'zcungesv' ), ('dsorgesv', 'zcungesv' ),
('codelet_ds', 'codelet_zc' ),
], ],
# ------------------------------------------------------------ # ------------------------------------------------------------
# replacements applied to mixed precision files. # replacements applied to mixed precision files.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment