Bug#1065596: gcc-12-offload-nvptx: offloading fails due to unsupported sm_35 default arch
Package: gcc-12-offload-nvptx
Version: 12.3.0-15
Severity: normal
Dear Maintainer,
current versions of ptxas dropped support for sm_35, yet gcc-12-offload-nvptx uses that as the default, if unspecified. I can still compile openmp code offloaded to nvptx, but I have to explicitly add something like -foffload-options=nvptx-none="-march=sm_53" to override the default target arch. Please fix this, or make the default configurable so that one does not have to always specify it on the command line.
I am not sure this should be fixed in gcc-12-offload-nvptx or in nvptx-tools, feel free to reassign the bug, if appropriate.
Thanks in advance, best regards
Giacomo Mulas
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (401, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.7.7-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gcc-12-offload-nvptx depends on:
ii gcc-12 12.3.0-15
ii gcc-12-base 12.3.0-15
ii libc6 2.37-15.1
ii libc6-dev 2.37-15.1
ii libgmp10 2:6.3.0+dfsg-2+b1
ii libgomp-plugin-nvptx1 14-20240303-1
ii libmpc3 1.3.1-1+b2
ii libmpfr6 4.2.1-1+b1
ii libzstd1 1.5.5+dfsg2-2
ii nvptx-tools 0.20230904-1
ii zlib1g 1:1.3.dfsg-3.1
gcc-12-offload-nvptx recommends no packages.
gcc-12-offload-nvptx suggests no packages.
-- no debconf information
Reply to: