]> gcc.gnu.org Git - gcc.git/commitdiff
[nvptx] Move PTX_CTA_SIZE up
authorTom de Vries <tdevries@suse.de>
Fri, 11 Jan 2019 11:46:31 +0000 (11:46 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Fri, 11 Jan 2019 11:46:31 +0000 (11:46 +0000)
Move the defition of PTX_CTA_SIZE up in nvptx.c.

2019-01-11  Tom de Vries  <tdevries@suse.de>

* config/nvptx/nvptx.c (PTX_CTA_SIZE): Move up.

From-SVN: r267837

gcc/ChangeLog
gcc/config/nvptx/nvptx.c

index 080825432a64fc4c4b9af7f27b6fab5de1a18f48..5495b9a6f4a1e2f3fa99a8ca51aa254ffa2ecd9b 100644 (file)
@@ -1,3 +1,7 @@
+2019-01-11  Tom de Vries  <tdevries@suse.de>
+
+       * config/nvptx/nvptx.c (PTX_CTA_SIZE): Move up.
+
 2019-01-11  Jan Beulich  <jbeulich@suse.com>
 
        * config/i386/i386.md (rex64suffix): Add L suffix for SI.
index 7fdc285b6f8eba0c16c337a3619523be5d75aed1..643f5e86ccc4e47f662853f0de6f6f783c29e9f0 100644 (file)
 #define WORKAROUND_PTXJIT_BUG_2 1
 #define WORKAROUND_PTXJIT_BUG_3 1
 
+/* 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
+
 #define PTX_WARP_SIZE 32
+
 #define PTX_DEFAULT_VECTOR_LENGTH PTX_WARP_SIZE
 #define PTX_MAX_VECTOR_LENGTH PTX_WARP_SIZE
 #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
 {
This page took 0.078409 seconds and 5 git commands to generate.