diff --git a/src/pystencilssfg/config.py b/src/pystencilssfg/config.py
index aef3e78e1ab1488bb4cab3da1e3822e26d2c080e..0376145bad86270cc1356603631ab160bee0e6a9 100644
--- a/src/pystencilssfg/config.py
+++ b/src/pystencilssfg/config.py
@@ -361,7 +361,7 @@ class CommandLineParameters:
         extensions = tuple((ext[1:] if ext[0] == "." else ext) for ext in extensions)
 
         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:
             if ext in HEADER_FILE_EXTENSIONS: