Files
nixpkgs/pkgs/development/rocm-modules/6/hipblaslt/parallel-buildSourceCodeObjectFile.diff

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
503 B
Diff
Raw Normal View History

2025-10-09 14:15:47 +02:00
diff --git a/tensilelite/Tensile/Toolchain/Source.py b/tensilelite/Tensile/Toolchain/Source.py
index c9862e6c..dfa5ba40 100644
--- a/tensilelite/Tensile/Toolchain/Source.py
+++ b/tensilelite/Tensile/Toolchain/Source.py
@@ -102,6 +102,7 @@ def buildSourceCodeObjectFiles(
coPaths= []
objPath = str(tmpObjDir / objFilename)
+ compiler.default_args += ["-parallel-jobs=8"]
compiler(str(includeDir), cmdlineArchs, str(kernelPath), objPath)
for target in bundler.targets(objPath):