diff --git a/AUTHORS b/AUTHORS index 9b7763593e..573f142cf9 100644 --- a/AUTHORS +++ b/AUTHORS @@ -35,5 +35,6 @@ Tiancheng Chen Reid Wahl Yihang Luo Alexandru Calotoiu +Phillip Lane and other contributors listed in https://github.com/spcl/dace/graphs/contributors diff --git a/dace/codegen/targets/cuda.py b/dace/codegen/targets/cuda.py index f2e11fee7b..f4db868730 100644 --- a/dace/codegen/targets/cuda.py +++ b/dace/codegen/targets/cuda.py @@ -497,7 +497,7 @@ def cmake_options(): hip_arch = [ha for ha in hip_arch if ha is not None and len(ha) > 0] flags = Config.get("compiler", "cuda", "hip_args") - flags += ' ' + ' '.join('--offload-arch=gfx{arch}'.format(arch=arch) for arch in hip_arch) + flags += ' ' + ' '.join('--offload-arch={arch}'.format(arch=arch if arch.startswith("gfx") else "gfx" + arch) for arch in hip_arch) options.append("-DEXTRA_HIP_FLAGS=\"{}\"".format(flags)) if Config.get('compiler', 'cpu', 'executable'):