kokkos: fix typos (#16388)
This commit is contained in:
parent
598c233f78
commit
f005ec016b
1 changed files with 1 additions and 2 deletions
|
@ -213,7 +213,7 @@ def cmake_args(self):
|
||||||
if kokkos_microarch_name:
|
if kokkos_microarch_name:
|
||||||
spack_microarches.append(kokkos_microarch_name)
|
spack_microarches.append(kokkos_microarch_name)
|
||||||
|
|
||||||
for arch in amd_gpu_arches:
|
for arch in self.amd_gpu_arches:
|
||||||
keyval = "amd_gpu_arch=%s" % arch
|
keyval = "amd_gpu_arch=%s" % arch
|
||||||
if keyval in spec:
|
if keyval in spec:
|
||||||
spack_microarches.append(arch)
|
spack_microarches.append(arch)
|
||||||
|
@ -224,7 +224,6 @@ def cmake_args(self):
|
||||||
self.append_args("ENABLE", self.devices_values, options)
|
self.append_args("ENABLE", self.devices_values, options)
|
||||||
self.append_args("ENABLE", self.options_values, options)
|
self.append_args("ENABLE", self.options_values, options)
|
||||||
self.append_args("ENABLE", self.tpls_values, options)
|
self.append_args("ENABLE", self.tpls_values, options)
|
||||||
self.append_args("ARCH", self.arch_values, options)
|
|
||||||
|
|
||||||
for tpl in self.tpls_values:
|
for tpl in self.tpls_values:
|
||||||
var = "+%s" % tpl
|
var = "+%s" % tpl
|
||||||
|
|
Loading…
Reference in a new issue