This adds a CUDA specification analyzer tool which counts and compares the annotated CUDA APIs in the CUDART specifications.
The analysis result is output to CSV and function variation (TXT) files.
How has this been tested?
python3 tools/spec_analyzer/cuda_spec_analyzer.py
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Document update (this change is mainly a documentation update)
Checklist:
[ ] My code passes format and lint checks.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] My changes generate no new warnings.
[ ] I have tested my code with a reasonable workload.
Description
This adds a CUDA specification analyzer tool which counts and compares the annotated CUDA APIs in the CUDART specifications. The analysis result is output to CSV and function variation (TXT) files.
How has this been tested?
Types of changes
Checklist: