diff src/parallel_execution/generate_context.pl @ 435:af0ec811b20e

Add CUDAExecutor
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Sat, 04 Nov 2017 04:14:36 +0900
parents 85b0ddbf458e
children 08a93fc2f0d3
line wrap: on
line diff
--- a/src/parallel_execution/generate_context.pl	Tue Oct 31 17:55:50 2017 +0900
+++ b/src/parallel_execution/generate_context.pl	Sat Nov 04 04:14:36 2017 +0900
@@ -107,6 +107,8 @@
         last if (/union Data end/);
         if (/struct (\w+) \{/) {
             $dataGear{$1} = $1;
+        } elsif (/^\s{4}(\w+) (\w+);/) { # primitive type
+            $dataGear{$1} = $1;
         }
         $dataGear{"Context"} = "Context";
     }