aboutsummaryrefslogtreecommitdiff
blob: a00f9fdcae1d871504efdbdac411b249b5bbeba5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: Tensile-rocm-4.0.0/Tensile/TensileCreateLibrary.py
===================================================================
--- Tensile-rocm-4.0.0.orig/Tensile/TensileCreateLibrary.py
+++ Tensile-rocm-4.0.0/Tensile/TensileCreateLibrary.py
@@ -132,7 +132,7 @@ def buildSourceCodeObjectFile(CxxCompile
         return globalParameters["AsmCaps"][arch]["SupportedISA"] and \
                globalParameters["AsmCaps"][arch]["SupportedSource"]
 
-    archs = ['gfx'+''.join(map(str,arch)) for arch in globalParameters['SupportedISA'] \
+    archs = ['gfx'+''.join(map(str,arch)) for arch in [globalParameters['CurrentISA']] \
              if isSupported(arch)]
 
     archFlags = ['--amdgpu-target=' + arch for arch in archs]
@@ -1004,7 +1004,7 @@ def buildObjectFileNames(solutionWriter,
   kernelHelperOjbNmaes = [ko.getKernelName() for ko in kernelHelperOjbs]
 
   # Source based kernels are built for all supported architectures
-  sourceArchs = ['gfx'+''.join(map(str,arch)) for arch in globalParameters['SupportedISA'] \
+  sourceArchs = ['gfx'+''.join(map(str,arch)) for arch in [globalParameters['CurrentISA']] \
              if isSupported(arch)]
 
   # Asm based kernels target the configured ISA