diff src/parallel_execution/context.h @ 451:dcc42f3e7e97

Auto choice blockDim
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Tue, 05 Dec 2017 06:33:40 +0900
parents d3d7a7d6a117
children 1432d924c472
line wrap: on
line diff
--- a/src/parallel_execution/context.h	Mon Dec 04 04:24:30 2017 +0900
+++ b/src/parallel_execution/context.h	Tue Dec 05 06:33:40 2017 +0900
@@ -198,7 +198,7 @@
         struct Queue* tasks;
         int runFlag;
         enum Code next;
-        int num_stream;
+        int numStream;
         struct Executor* executor;
         CUstream *stream;
     } CUDAWorker;
@@ -370,6 +370,7 @@
     struct CUDAExecutor {
         CUdeviceptr** kernelParams;
         struct CUDABuffer* buffer;
+        int maxThreadPerBlock;
     } CUDAExecutor;
     struct CUDABuffer {
         int inputLen;