From c8b8da97027d9ba73a5907c3ccdd6c435ae13d17 Mon Sep 17 00:00:00 2001
From: Christoph Alt <christoph.alt@fau.de>
Date: Wed, 22 Jan 2025 14:15:39 +0100
Subject: [PATCH] allowing also .hip as generated file extension

---
 src/pystencilssfg/config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pystencilssfg/config.py b/src/pystencilssfg/config.py
index aef3e78..0376145 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:
-- 
GitLab