]> git.ipfire.org Git - thirdparty/gcc.git/commit
[nvptx] Unbreak build, add PTX_ISA_SM70
authorTom de Vries <tdevries@suse.de>
Tue, 8 Feb 2022 14:35:37 +0000 (15:35 +0100)
committerTom de Vries <tdevries@suse.de>
Tue, 8 Feb 2022 14:35:37 +0000 (15:35 +0100)
commitab1355a4804f04700a6ad49c9cc90261334e9dc3
tree651684cac7496116761d121ac873b73020074107
parent1e3185e714e877b2b4d14ade0865322f71a8cbf6
[nvptx] Unbreak build, add PTX_ISA_SM70

With the commit "[nvptx] Choose -mptx default based on -misa" I introduced a
use of PTX_ISA_SM70, without adding it first.

Add it, as well as the corresponding TARGET_SM70.

Build for x86_64 with nvptx accelerator.

gcc/ChangeLog:

2022-02-08  Tom de Vries  <tdevries@suse.de>

* config/nvptx/nvptx-opts.h (enum ptx_isa): Add PTX_ISA_SM70.
* config/nvptx/nvptx.h (TARGET_SM70): Define.
gcc/config/nvptx/nvptx-opts.h
gcc/config/nvptx/nvptx.h