On 20/12/2021 15:58, Andrew Stubbs wrote: > In order to support the %dynamic_smem_size PTX feature is is necessary > to bump the minimum supported PTX version from 3.1 (~2013) to 4.1 (~2014). Tobias has pointed out, privately, that the default version is both documented and encoded in the -mptx option, so I need to fix that too. This patch adds -mptx=4.1, sets it as the default, and updates the documentation accordingly. The -mptx=3.1 option is kept for backwards compatibility as an alias for 4.1. There's no point in actually allowing 3.1 as any program linked against libgomp will fail (and that's all offloading programs). OK for stage 1? Andrew