kokkos: fix typos (#16388)

This commit is contained in:
Christoph Junghans 2020-04-30 09:09:13 -06:00 committed by GitHub
parent 598c233f78
commit f005ec016b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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