]> git.ipfire.org Git - thirdparty/gcc.git/commit
[nvptx] Move macro defs to top of nvptx.c
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Dec 2018 21:27:19 +0000 (21:27 +0000)
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Dec 2018 21:27:19 +0000 (21:27 +0000)
commit91535e7e4bae35edc29dfe9e8dba6ee6a3813740
tree955f05f43e667a9228e56e37713ce49cb09ead21
parent9aa4eae702bae033d825bf0bd63dcc1e3d9e0b75
[nvptx] Move macro defs to top of nvptx.c

Move macro definition to the top of the file, allowing them to be used
there-after.

Build and reg-tested on x86_64 with nvptx accelerator.

2018-12-17  Tom de Vries  <tdevries@suse.de>

* config/nvptx/nvptx.c (PTX_VECTOR_LENGTH, PTX_WORKER_LENGTH,
PTX_DEFAULT_RUNTIME_DIM): Move to the top of the file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267216 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/nvptx/nvptx.c