Added support for CUDA calls in sequence diagrams (#263)

This commit is contained in:
Bartek Kryza
2024-05-01 18:18:23 +02:00
parent dfb4f38ded
commit 67363013fe
25 changed files with 543 additions and 46 deletions

View File

@@ -60,7 +60,8 @@ with open(r'tests/test_cases.yaml') as f:
tc.write("## Source code\n")
for root, dirs, files in os.walk(f'tests/{name}/'):
for source_file in files:
if source_file.endswith((".h", ".cc", ".c", ".cppm")):
if source_file.endswith((
".h", ".cc", ".c", ".cppm", ".cu", ".cuh")):
if source_file == "test_case.h":
continue
file_path = os.path.join(root, source_file)