From a3cd35e575c62e7670080f262861648e553a8939 Mon Sep 17 00:00:00 2001 From: Riyaz Haque Date: Wed, 23 Oct 2024 17:35:36 -0700 Subject: [PATCH] Add cuda version to system-specific variables in the sierra system.py --- var/sys_repo/systems/sierra/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/sys_repo/systems/sierra/system.py b/var/sys_repo/systems/sierra/system.py index 13e67c14..4004b18a 100644 --- a/var/sys_repo/systems/sierra/system.py +++ b/var/sys_repo/systems/sierra/system.py @@ -42,7 +42,7 @@ def generate_description(self, output_dir): f.write(self.sw_description()) def system_specific_variables(self): - return {"cuda_arch": "70"} + return {"cuda_arch": "70", "default_cuda_version": self.spec.variants["cuda"][0]} def external_pkg_configs(self): externals = Sierra.resource_location / "externals"