Skip to content

Commit

Permalink
feat: add language definition for CUDA C/C++
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Swartz <[email protected]>
  • Loading branch information
swahtz authored and github-actions[bot] committed Dec 8, 2024
1 parent c3e8116 commit b5bfdd4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions verify-spdx-headers
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ class Index:
'.hpp': 'c++',
'.cc': 'c++',
'.hh': 'c++',
'.cu': 'cuda-c',
'.cuh': 'cuda-c',
'.td': 'tablegen',
'.ts': 'typescript',
'.sh': 'shell',
Expand All @@ -70,6 +72,7 @@ class Index:
'ruby': Language('#+', shebang=True),
'c': Language('//+', ('/\\*', '\\*/')),
'c++': Language('//+', ('/\\*', '\\*/')),
'cuda-c': Language('//+', ('/\\*', '\\*/')),
'rust': Language('//+', '//!', ('/\\*', '\\*/')),
'protobuf': Language('//+', '//!', ('/\\*', '\\*/')),
'tablegen': Language('//+'),
Expand Down

0 comments on commit b5bfdd4

Please sign in to comment.