Replace previous recursive search with glob during logic file discovery.
Move logic file discovery into a function
Add unit testing.
Integrate the inline documentation into the documentation pipeline.
Outcomes:
A new function has been added to TensileCreateLibrary named findLogicFiles
Support for .yml extension in addition to .yaml
Automatic API documentation and unit tests.
Testing:
Unit testing:
New tests ensure that the results for new logic matches old (replaced) logic
Command to run unit tests (from Tensile/Tensile/Tests):
$ pytest unit/test_TensileCreateLibrary.py
Integration testing:
Build rocBLAS via ./install.sh -c for both the source and destination branches (see Docker environment info below)
Compare generated Tensile manifests (build/release/Tensile/library/TensileManifest.txt) with diff; no changes.
Notable changes:
Use pathlib.Path for path-based operations instead of os
Docker environment info:
$ cat /etc/os-release | head -1
PRETTY_NAME="Ubuntu 22.04.3 LTS"
$ apt show rocm-libs -a | head -2 | tail +2
Version: 6.1.2.60102-119~22.04
Objectives:
Outcomes:
findLogicFiles
.yml
extension in addition to.yaml
Testing:
Unit testing:
Command to run unit tests (from Tensile/Tensile/Tests):
Integration testing:
Notable changes:
pathlib.Path
for path-based operations instead ofos
Docker environment info: