Add a function in TensileCreateLibrary.py to filter kernels that emit and error when building (relates to kernel writing logic).
Add isort to automatically sort import for select files—reduces merge conflicts.
Update printExit to display red.
Testing
Unit tests are added for the new function and existing related functions.
Notable changes
The TensileCreateLibrary import in test_TensileCreateLibrary is renamed to tcl. So all functions should be accessed like tcl.functionName(...).
An import sorting check has been added to CI, so make sure to run tox run -m static prior to committing to ensure formatting, linting, and import sorting are all complete.
Simple refactor:
printExit
to display red.Testing
Unit tests are added for the new function and existing related functions.
Notable changes
TensileCreateLibrary
import in test_TensileCreateLibrary is renamed totcl
. So all functions should be accessed liketcl.functionName(...)
.tox run -m static
prior to committing to ensure formatting, linting, and import sorting are all complete.