mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-20 06:49:15 +00:00
Pre-commit in CI (#3029)
* Pre-commit in CI * Specify python version, and install dos2unix for remod * Refactor remod hook to correctly install dependencies * Run pre-commit
This commit is contained in:
13
script/remod_for_ck_tile.py
Executable file
13
script/remod_for_ck_tile.py
Executable file
@@ -0,0 +1,13 @@
|
||||
import os
|
||||
|
||||
root_dir = os.getcwd()
|
||||
ck_tile_include = root_dir + "/include/ck_tile"
|
||||
ck_tile_example = root_dir + "/example/ck_tile"
|
||||
|
||||
# Run for include
|
||||
os.chdir(ck_tile_include)
|
||||
_ = os.system("python remod.py")
|
||||
|
||||
# Run for example
|
||||
os.chdir(ck_tile_example)
|
||||
_ = os.system("python remod.py")
|
||||
Reference in New Issue
Block a user