From ed1aa76bca7f9ca0134ee8f70ffea1200685106f Mon Sep 17 00:00:00 2001 From: Jonathan Swartz Date: Mon, 9 Dec 2024 12:16:53 +1300 Subject: [PATCH] feat: add language definition for CUDA C/C++ Signed-off-by: Jonathan Swartz --- verify-spdx-headers | 3 +++ 1 file changed, 3 insertions(+) diff --git a/verify-spdx-headers b/verify-spdx-headers index 1721b13..d890e62 100755 --- a/verify-spdx-headers +++ b/verify-spdx-headers @@ -59,6 +59,8 @@ class Index: '.hpp': 'c++', '.cc': 'c++', '.hh': 'c++', + '.cu': 'cuda-c', + '.cuh': 'cuda-c', '.td': 'tablegen', '.ts': 'typescript', '.sh': 'shell', @@ -70,6 +72,7 @@ class Index: 'ruby': Language('#+', shebang=True), 'c': Language('//+', ('/\\*', '\\*/')), 'c++': Language('//+', ('/\\*', '\\*/')), + 'cuda-c': Language('//+', ('/\\*', '\\*/')), 'rust': Language('//+', '//!', ('/\\*', '\\*/')), 'protobuf': Language('//+', '//!', ('/\\*', '\\*/')), 'tablegen': Language('//+'),