aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorCesar Philippidis <cesar@codesourcery.com>2018-07-30 01:16:52 -0700
committerTom de Vries <vries@gcc.gnu.org>2018-07-30 08:16:52 +0000
commit605219e7c74bc8039a994847729fb948230d66d3 (patch)
tree6ec160ee0b78169d4c3af5743fed99bcde4813d5 /gcc/combine.c
parentd634309f9a8af7fe3bae54af004666291c667813 (diff)
downloadgcc-605219e7c74bc8039a994847729fb948230d66d3.zip
gcc-605219e7c74bc8039a994847729fb948230d66d3.tar.gz
gcc-605219e7c74bc8039a994847729fb948230d66d3.tar.bz2
[nvptx, offloading] Determine default workers at runtime
Currently, if the user doesn't specify the number of workers for an openacc region, the compiler hardcodes it to a default value. This patch removes this functionality, such that the libgomp runtime can decide on a default value. 2018-07-30 Cesar Philippidis <cesar@codesourcery.com> Tom de Vries <tdevries@suse.de> * config/nvptx/nvptx.c (PTX_GANG_DEFAULT): Rename to ... (PTX_DEFAULT_RUNTIME_DIM): ... this. (nvptx_goacc_validate_dims): Set default worker and gang dims to PTX_DEFAULT_RUNTIME_DIM. (nvptx_dim_limit): Ignore GOMP_DIM_WORKER. Co-Authored-By: Tom de Vries <tdevries@suse.de> From-SVN: r263060
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions