Mercurial > hg > GearsTemplate
comparison 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 |
comparison
equal
deleted
inserted
replaced
434:b75badf42701 | 435:af0ec811b20e |
---|---|
105 next; | 105 next; |
106 } | 106 } |
107 last if (/union Data end/); | 107 last if (/union Data end/); |
108 if (/struct (\w+) \{/) { | 108 if (/struct (\w+) \{/) { |
109 $dataGear{$1} = $1; | 109 $dataGear{$1} = $1; |
110 } elsif (/^\s{4}(\w+) (\w+);/) { # primitive type | |
111 $dataGear{$1} = $1; | |
110 } | 112 } |
111 $dataGear{"Context"} = "Context"; | 113 $dataGear{"Context"} = "Context"; |
112 } | 114 } |
113 } | 115 } |
114 | 116 |