From 1e78c21269d760d14ff5dc6022836b24017dbb4e Mon Sep 17 00:00:00 2001 From: Allison Piper Date: Mon, 22 Apr 2024 17:29:21 +0000 Subject: [PATCH] UI Tweaks --- ci/compute-matrix.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/ci/compute-matrix.py b/ci/compute-matrix.py index 61d7c8947d6..8683502259b 100755 --- a/ci/compute-matrix.py +++ b/ci/compute-matrix.py @@ -172,21 +172,22 @@ def generate_dispatch_job_name(matrix_job, job_type): gpu_str = "" if job_type in matrix_yaml['gpu_required_job_types']: - gpu_str = "[" + matrix_job['gpu'].upper() + "]" + gpu_str = "," + matrix_job['gpu'].upper() cuda_compile_arch = (" sm{" + matrix_job['cmake_cuda_arch'] + "}") if 'cmake_cuda_arch' in matrix_job else "" cmake_options = (" " + matrix_job['cmake_options']) if 'cmake_options' in matrix_job else "" - cpu_str = (" " + matrix_job['cpu']) if matrix_job['cpu'] else "" - return "[{}-{} C++{}] {}{}: {}{}{}".format( + extra_args=cuda_compile_arch + cmake_options + extra_args = f":{extra_args}" if extra_args else "" + + return "[{}-{} C++{}] {}({}{}){}".format( matrix_job['host_compiler']['name'], matrix_job['host_compiler']['version'], matrix_job['std'][0], formatted_job_type, + matrix_job['cpu'], gpu_str, - cuda_compile_arch, - cmake_options, - cpu_str + extra_args )