aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2018-12-17 21:27:09 +0000
committerTom de Vries <vries@gcc.gnu.org>2018-12-17 21:27:09 +0000
commit5d17a4763a71cbf10d3d4bb93bed11f832a24683 (patch)
treea027e58f13ff1383a8779e730addbd3d2a950640 /gcc/combine.c
parent7820b298ed50143b0dcad49e9f49be470ff510d4 (diff)
downloadgcc-5d17a4763a71cbf10d3d4bb93bed11f832a24683.zip
gcc-5d17a4763a71cbf10d3d4bb93bed11f832a24683.tar.gz
gcc-5d17a4763a71cbf10d3d4bb93bed11f832a24683.tar.bz2
[nvptx] Add PTX_WARP_SIZE
Add PTX_WARP_SIZE constant and use it in nvptx_simt_vf. The function nvptx_simt_vf is used for OpenMP, and using PTX_WARP_SIZE here decouples the OpenMP support from the PTX_VECTOR_LENGTH constant used in OpenACC support. Build and reg-tested on x86_64 with nvptx accelerator. 2018-12-17 Tom de Vries <tdevries@suse.de> * config/nvptx/nvptx.c (PTX_WARP_SIZE): Define. (nvptx_simt_vf): Return PTX_WARP_SIZE instead of PTX_VECTOR_LENGTH. From-SVN: r267215
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions