JP5381302B2 - 並列化スケジューリング装置 - Google Patents
並列化スケジューリング装置 Download PDFInfo
- Publication number
- JP5381302B2 JP5381302B2 JP2009112699A JP2009112699A JP5381302B2 JP 5381302 B2 JP5381302 B2 JP 5381302B2 JP 2009112699 A JP2009112699 A JP 2009112699A JP 2009112699 A JP2009112699 A JP 2009112699A JP 5381302 B2 JP5381302 B2 JP 5381302B2
- Authority
- JP
- Japan
- Prior art keywords
- task
- processing time
- tasks
- execution condition
- scheduling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Devices For Executing Special Programs (AREA)
Description
図1は、この発明を実施するための実施の形態1における並列処理装置の構成図である。図において、並列処理装置には、2以上のプロセッシングエレメント12(以下、「PE」と呼ぶ。)と、それぞれのPE12に接続されたローカルメモリ10と、PE12を相互に接続するためのバス13と、バス13に接続された共有メモリ14とが設けられている。ここで、プロセッシングエレメントとは、種々の命令を実行可能な演算装置である。なお、ここでは、2個のPE12を有する並列処理装置の例を示したが、さらに多数のPE12がある構成でもよく、各PE12は、バス13に接続され、各PE12にローカルメモリ10が接続される。並列化スケジューリング装置は、並列処理装置の複数の演算装置(PE12)で、実行する対象プログラムを並列処理させる並列化スケジュールを作成する。
また、図2の条件節は、変数同士や変数と定数の間における比較演算、論理演算またはこれらを組合せた演算で表現される。
本実施の形態は、実施の形態1の実行条件の解析対象抽出部34とは別のタスク抽出方法の実行条件の解析対象抽出部34を持つ実施の形態である。実施の形態1とは異なり、本実施の形態の実行条件の解析対象抽出部34は、変数ごとに、当該変数が条件節に現れるタスクの条件の違いによる処理時間の差を積算し、積算した処理時間の差が大きい変数を含むタスクを変化タスクとして、実行条件解析部の解析対象とするものである。なお、実行条件解析部35にて対象とするタスク(変化タスク)を抽出し、変化タスク以外を固定タスクとした後は、実施の形態1と同様の処理を行う。
Claims (2)
- 1の実行条件及び前記実行条件下での処理を含むタスクを構成要素とするプログラムを記憶する記憶部と、
前記プログラム中の前記タスクの前記実行条件の全ての条件下での処理時間を求めて前記処理時間の前記タスクごとの最長処理時間と最短処理時間との差の順に前記タスクを並べ、最も前記差が大きいタスクから所定数の前記タスクを変化タスクとし、前記変化タスク以外を固定タスクとして判別して前記記憶部に前記判別した結果を記憶する解析対象抽出部と、
複数の演算処理装置を有する並列演算処理装置の並列化スケジュールを作成する並列化スケジューリングを行うとともに、前記並列化スケジュールに含まれる前記変化タスクに対しては、全ての実行条件ごとに当該変化タスクの処理時間を計算し、前記並列化スケジュールに含まれる前記固定タスクに対しては、当該固定タスクの処理時間が最長となる実行条件での当該固定タスクの処理時間として計算して、前記並列化スケジュールの処理時間の計算を行うスケジューリング部と、
前記並列化スケジュールの中で、最長処理時間が最短の前記並列化スケジュールを出力する出力部を備えた並列化スケジューリング装置。 - 変数により表現された1の実行条件を表す条件節及び前記実行条件が真となる場合、偽となる場合それぞれの処理を表す帰結節を含むタスクを構成要素とするプログラムを記憶する記憶部と、
前記プログラム中の前記タスクのそれぞれについて、前記実行条件が真の場合の処理時間及び偽の場合の処理時間を求めるとともに、前記条件節に現れる前記変数に対して前記実行条件が真の場合の処理時間及び偽の場合の処理時間を割り当てた上で、前記変数のそれぞれについて割り当てられた前記実行条件が真の場合の処理時間の積算値と偽の場合の処理時間の積算値との差の値が大きい順に前記変数の順序付けを行い、前記差の値が大きい変数を前記条件節に含む前記タスクから順に所定数の前記タスクを変化タスクとし、前記プログラム中の前記変化タスク以外のタスクを固定タスクとして前記記憶部に記憶する解析対象抽出部と、
複数の演算処理装置を有する並列演算処理装置の並列化スケジュールを作成する並列化スケジューリングを行うとともに、前記並列化スケジュールに含まれる前記変化タスクに対しては、全ての実行条件ごとに当該変化タスクの処理時間を計算し、前記並列化スケジュールに含まれる前記固定タスクに対しては、当該固定タスクの処理時間が最長となる実行条件での当該固定タスクの処理時間として計算して、前記並列化スケジュールの処理時間の計算を行うスケジューリング部と、
前記並列化スケジュールの中で、最長処理時間が最短の前記並列化スケジュールを出力する出力部を備えた並列化スケジューリング装置。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009112699A JP5381302B2 (ja) | 2009-05-07 | 2009-05-07 | 並列化スケジューリング装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009112699A JP5381302B2 (ja) | 2009-05-07 | 2009-05-07 | 並列化スケジューリング装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010262471A JP2010262471A (ja) | 2010-11-18 |
JP5381302B2 true JP5381302B2 (ja) | 2014-01-08 |
Family
ID=43360480
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009112699A Expired - Fee Related JP5381302B2 (ja) | 2009-05-07 | 2009-05-07 | 並列化スケジューリング装置 |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5381302B2 (ja) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102017001765A1 (de) | 2016-02-29 | 2017-09-14 | Fanuc Corporation | Numerische steuerung für werkzeugmaschine |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140093508A (ko) * | 2013-01-18 | 2014-07-28 | 한국과학기술원 | 근접질의 연산 가속화 시스템 |
JP6488738B2 (ja) * | 2015-02-05 | 2019-03-27 | 株式会社デンソー | 並列化コンパイル方法、及び、並列化コンパイラ |
JP6488739B2 (ja) * | 2015-02-05 | 2019-03-27 | 株式会社デンソー | 並列化コンパイル方法、及び、並列化コンパイラ |
CN112799821A (zh) * | 2021-02-06 | 2021-05-14 | 读书郎教育科技有限公司 | 一种调度多个执行时机可变的周期任务的方法 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05189243A (ja) * | 1992-01-14 | 1993-07-30 | Fujitsu Ltd | 条件付演算のコンパイル処理装置 |
JP3664473B2 (ja) * | 2000-10-04 | 2005-06-29 | インターナショナル・ビジネス・マシーンズ・コーポレーション | プログラムの最適化方法及びこれを用いたコンパイラ |
-
2009
- 2009-05-07 JP JP2009112699A patent/JP5381302B2/ja not_active Expired - Fee Related
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102017001765A1 (de) | 2016-02-29 | 2017-09-14 | Fanuc Corporation | Numerische steuerung für werkzeugmaschine |
US10120363B2 (en) | 2016-02-29 | 2018-11-06 | Fanuc Corporation | Numerical controller for machine tool |
DE102017001765B4 (de) | 2016-02-29 | 2024-08-08 | Fanuc Corporation | Numerische steuerung für werkzeugmaschine |
Also Published As
Publication number | Publication date |
---|---|
JP2010262471A (ja) | 2010-11-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4042604B2 (ja) | プログラム並列化装置,プログラム並列化方法およびプログラム並列化プログラム | |
JP2002116916A (ja) | プログラムの最適化方法及びこれを用いたコンパイラ | |
Melani et al. | Schedulability analysis of conditional parallel task graphs in multicore systems | |
JP4962564B2 (ja) | 並列化プログラム生成方法、並列化プログラム生成装置、及び並列化プログラム生成プログラム | |
KR101279179B1 (ko) | 병렬 프로그램 생성 방법 | |
JP5381302B2 (ja) | 並列化スケジューリング装置 | |
Shojaei et al. | A fast and scalable multidimensional multiple-choice knapsack heuristic | |
Li et al. | Harmony: Overcoming the hurdles of gpu memory capacity to train massive dnn models on commodity servers | |
JP5083204B2 (ja) | 並列化プログラム生成プログラム、並列化プログラム生成装置、及び並列化プログラム生成方法 | |
Prihozhy et al. | Pipeline synthesis and optimization from branched feedback dataflow programs | |
Vidal et al. | UML design for dynamically reconfigurable multiprocessor embedded systems | |
Cordes et al. | Automatic extraction of task-level parallelism for heterogeneous MPSoCs | |
Yin et al. | Trigger-centric loop mapping on CGRAs | |
Velasco-Montero et al. | A Pipelining-Based Heterogeneous Scheduling and Energy-Throughput Optimization Scheme for CNNs Leveraging Apache TVM | |
Bergamaschi et al. | Scheduling under resource constraints and module assignment | |
Chen et al. | Efficient resource constrained scheduling using parallel two-phase branch-and-bound heuristics | |
Heid et al. | μStreams: a tool for automated streaming pipeline generation on soft-core processors | |
Fradet et al. | Sequential Scheduling of Dataflow Graphs for Memory Peak Minimization | |
Wang et al. | A scalable and fast microprocessor design space exploration methodology | |
Kelefouras et al. | Workflow simulation aware and multi-threading effective task scheduling for heterogeneous computing | |
Dammak et al. | Framework for a selection of custom instructions for Ht-MPSoC in area-performance aware manner | |
Prihozhy et al. | Semantic model for high-level synthesis of dataflow pipelines | |
Cedersjö et al. | Finding fast action selectors for dataflow actors | |
Duan et al. | Notice of Violation of IEEE Publication PrinciplesScientific Workflow Partitioning and Data Flow Optimization in Hybrid Clouds | |
Tang et al. | Parallelizing the merge sorting network algorithm on a multi-core computer using Go and Cilk |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111014 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130613 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130618 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130724 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130903 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130916 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |