Skip to content

Commit

Permalink
glod for yaml and co in client writer
Browse files Browse the repository at this point in the history
  • Loading branch information
ellosel authored and jichangjichang committed Dec 16, 2024
1 parent b263c6b commit 0ed9795
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tensilelite/Tensile/ClientWriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import shlex
import shutil
from enum import Enum
from glob import glob

from .Contractions import FreeIndex, BatchIndex
from .Contractions import ProblemType as ContractionsProblemType
Expand Down Expand Up @@ -98,9 +99,9 @@ def main(config, cxxCompiler: str, cCompiler: str):

createLibraryScript = getBuildClientLibraryScript(stepBaseDir, libraryLogicPath, cxxCompiler)
subprocess.run(shlex.split(createLibraryScript), cwd=stepBaseDir)
coList = []
yamlList = []

coList = glob(os.path.join(stepBaseDir,"library/*.co"))
yamlList = glob(os.path.join(stepBaseDir,"library/*.yaml"))
clientParametersPaths = []
for logicFileName in logicFiles:
(scheduleName, _, problemType, _, exactLogic, newLibrary, _) \
Expand Down

0 comments on commit 0ed9795

Please sign in to comment.