Commit c4686fa9 by Tom de Vries Committed by Tom de Vries

[nvptx] Add PTX_CTA_SIZE

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

	* config/nvptx/nvptx.c (PTX_CTA_SIZE): Define.

From-SVN: r267281
parent 7c67ff4a
2018-12-19 Tom de Vries <tdevries@suse.de>
* config/nvptx/nvptx.c (PTX_CTA_SIZE): Define.
2018-12-19 Tom de Vries <tdevries@suse.de>
* omp-offload.c (oacc_fn_attrib_level): Remove static.
* omp-offload.h (oacc_fn_attrib_level): Declare.
......@@ -86,6 +86,11 @@
#define PTX_WORKER_LENGTH 32
#define PTX_DEFAULT_RUNTIME_DIM 0 /* Defer to runtime. */
/* The PTX concept CTA (Concurrent Thread Array) maps on the CUDA concept thread
block, which has had a maximum number of threads of 1024 since CUDA version
2.x. */
#define PTX_CTA_SIZE 1024
/* The various PTX memory areas an object might reside in. */
enum nvptx_data_area
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment