Skip to content
Snippets Groups Projects

Allowing also .hip as generated file extension

Merged Christoph Alt requested to merge ob28imeq/pystencils-sfg:hip into master
Viewing commit c8b8da97
Show latest version
1 file
+ 1
1
Preferences
Compare changes
@@ -361,7 +361,7 @@ class CommandLineParameters:
@@ -361,7 +361,7 @@ class CommandLineParameters:
extensions = tuple((ext[1:] if ext[0] == "." else ext) for ext in extensions)
extensions = tuple((ext[1:] if ext[0] == "." else ext) for ext in extensions)
HEADER_FILE_EXTENSIONS = {"h", "hpp", "hxx", "h++", "cuh"}
HEADER_FILE_EXTENSIONS = {"h", "hpp", "hxx", "h++", "cuh"}
IMPL_FILE_EXTENSIONS = {"c", "cpp", "cxx", "c++", "cu", ".impl.h", "ipp"}
IMPL_FILE_EXTENSIONS = {"c", "cpp", "cxx", "c++", "cu", ".impl.h", "ipp", "hip"}
for ext in extensions:
for ext in extensions:
if ext in HEADER_FILE_EXTENSIONS:
if ext in HEADER_FILE_EXTENSIONS: