JPH0154740B2 - - Google Patents

Info

Publication number
JPH0154740B2
JPH0154740B2 JP13697585A JP13697585A JPH0154740B2 JP H0154740 B2 JPH0154740 B2 JP H0154740B2 JP 13697585 A JP13697585 A JP 13697585A JP 13697585 A JP13697585 A JP 13697585A JP H0154740 B2 JPH0154740 B2 JP H0154740B2
Authority
JP
Japan
Prior art keywords
goal
processor
processor element
processing
new
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
Application number
JP13697585A
Other languages
Japanese (ja)
Other versions
JPS61296465A (en
Inventor
Mamoru Sugie
Mitsugi Yoneyama
Masaaki Iwasaki
Seiichi Yoshizumi
Toshibumi Sakabe
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
National Institute of Advanced Industrial Science and Technology AIST
Original Assignee
Agency of Industrial Science and Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Agency of Industrial Science and Technology filed Critical Agency of Industrial Science and Technology
Priority to JP13697585A priority Critical patent/JPS61296465A/en
Publication of JPS61296465A publication Critical patent/JPS61296465A/en
Publication of JPH0154740B2 publication Critical patent/JPH0154740B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は並列型推論計算機に係り、各プロセツ
サエレメント間のゴールの受け渡し頻度を減らす
ことによつて、同時に動作しうるプロセツサエレ
メント数を増加させるゴールの分配方式に関す
る。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a parallel reasoning computer, and increases the number of processor elements that can operate simultaneously by reducing the frequency of passing goals between each processor element. Regarding the distribution method of goals.

〔発明の背景〕 従来の推論計算機では、推論処理の逐次的実行
が一般的であつた。その代表的な処理方式は、
「エジンバラ大学人工知能学部研究報告(Dept.of
Artificial Intelligence Research Report)第39
号および第40号(1977)」に詳しく述べられてい
る。こうした逐次型推論計算には、ひとつのプロ
セツサによつて、ひとつひとつの推論処理を逐次
実行するために、処理性能が低いという問題点が
あつた。一般にひとつのゴールの推論処理からは
複数の新しいゴールが派生し、これらの新しいゴ
ールは、並列に処理することが可能である。この
点に着目して、例えば、「第5世代コンピユータ
システムに関する国際会議(1984年)、講演論文
集(Proc.of Int.Conf、on Fifth Generation
Computer Systems1984、ICOT)、第479頁―第
489頁」(公知例)のように複数のプロセツサ・
エレメントをネツトワークによつて結合し、複数
の推論処理を並列実行することによつて処理性能
を向上させようという並列型推論計算機の提案が
なされてきた。
[Background of the Invention] Conventional inference computers generally perform inference processing sequentially. The typical processing method is
“Research report from the Department of Artificial Intelligence, University of Edinburgh (Dept.of
Artificial Intelligence Research Report) No. 39
No. 40 (1977). Such sequential inference calculations have the problem of low processing performance because each inference process is executed sequentially by a single processor. Generally, multiple new goals are derived from inference processing of one goal, and these new goals can be processed in parallel. Focusing on this point, for example, ``International Conference on Fifth Generation Computer Systems (1984), Proc. of Int.Conf, on Fifth Generation
Computer Systems1984, ICOT), pp. 479-No.
489 page" (publicly known example), multiple processors and
Parallel inference computers have been proposed to improve processing performance by connecting elements through a network and executing multiple inference processes in parallel.

並列型推論計算機では、次の2点が課題とてな
つている。
There are two issues facing parallel reasoning computers:

(1) 推論処理をできるだけ多くのプロセツサ・エ
レメントの分散させ、並列動作するプロセツ
サ・エレメントの台数を大きくする。
(1) Distribute inference processing to as many processor elements as possible and increase the number of processor elements that operate in parallel.

(2) スループツトの小さいネツトワークで、効率
的にゴールを分配する。
(2) Efficiently distribute goals in a network with small throughput.

(1)、(2)は無関係ではなく、ネツトワーク・スル
ープツトは実現的にはある値に制限されるので、
(1)の達成には、(2)の課題の克服が不可欠である。
(1) and (2) are not unrelated, and the network throughput is practically limited to a certain value, so
In order to achieve (1), it is essential to overcome the issue (2).

さて、従来の並列型推論計算機では、例えば、
公知例に示されているように、各プロセツサ・
エレメントはひとつのゴール処理の結果派生した
新しいゴールをプール(ゴール・プールと呼ぶ)
に送つていた。各プロセツサ・エレメントは、ゴ
ール・プールにアクセスして、ゴールを取り出
し、推論処理を行なう。このため、プロセツサ・
エレメントにおける推論処理毎にゴール・プール
を介しての各プロセツサ・エレメント間での交信
が必要になり、ネツトワークのスループツトが十
分でない場合には、並処動作できるプロセツサ・
エレメントの数が制限されてしまう。
Now, in conventional parallel reasoning computers, for example,
As shown in the known examples, each processor
An element pools new goals derived as a result of processing a single goal (called a goal pool)
was sent to. Each processor element accesses the goal pool to retrieve goals and perform inference processing. For this reason, the processor
Communication between each processor element via the goal pool is required for each inference process in an element, and if the network throughput is insufficient, processors that can perform parallel processing are required.
The number of elements is limited.

また、情報処理学会第30回全国大会予稿集6C
―9(p.201)(公知例)の例のように、東、西、
南、北のプロセツサ・エレメントと接続して、網
状のネツトワークを形成し、新しいゴールを、そ
れを生成したプロセツサ・エレメント(自プロセ
ツサ・エレメントと呼ぶ)→東プロセツサ・エレ
メント→南プロセツサ・エレメント→自プロセツ
サ・エレメント→………と順次分配することによ
つて、必要とされるネツトワーク・スループツト
を低く抑えようという従来例もある。公知例で
は4近傍接続の網状ネツトワークの導入によつ
て、必要とされるネツトワーク・スループツトを
低く抑えているが、〜1Gb/secのスループツト
が必要であり、通常のネツトワークでは、並列動
作するプロセツサ台数が十分には大きくできなか
つた。
In addition, Information Processing Society of Japan 30th National Conference Proceedings 6C
-9 (p.201) (publicly known example), east, west,
It connects with the south and north processor elements to form a net-like network, and generates a new goal from the processor element that generated it (called its own processor element) → east processor element → south processor element → There is also a conventional example in which the required network throughput is kept low by sequentially distributing the self-processor element and so on. In the known example, the required network throughput is kept low by introducing a mesh network with four-neighbor connections, but a throughput of ~1 Gb/sec is required, and in a normal network, parallel operation is not possible. The number of processors to be used could not be increased sufficiently.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、ネツトワークを介しての各プ
ロセツサエレメント間の交信の頻度を減らすこと
のできるゴールの分配方式を提供し、高性能の並
列型推論計算機を実現することにある。
An object of the present invention is to provide a goal distribution method that can reduce the frequency of communication between processor elements via a network, and to realize a high-performance parallel reasoning computer.

〔発明の概要〕[Summary of the invention]

プロセツサエレメントのゴール処理の結果生じ
る新しいゴールは通常1、2個であり、1個の場
合も多い。したがつて、生成した新しいゴール
を、処理を行なつたプロセツサエレメントの次の
処理用のゴールとすれば、ネツトワークを介して
他のプロセツサエレメントにゴールを受け渡す必
要がない。
The number of new goals generated as a result of goal processing by the processor element is usually one or two, and often only one. Therefore, if the generated new goal is the goal for the next processing of the processor element that has processed it, there is no need to transfer the goal to another processor element via the network.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を詳細に説明する。並
列型推論計算機は、一例として、一階述語論理に
基づいたプロログ(Prolog)という言語によつ
て書かれたプログラムを実行することができる。
Hereinafter, one embodiment of the present invention will be described in detail. For example, a parallel reasoning computer can execute a program written in a language called Prolog based on first-order predicate logic.

プロログの文法、プログラミング法、プログラ
ム例に関しては、中島秀之「Prolog」(産業図
書)等の教科書に述べられている。第2図に、こ
うしたプロログプログラムの例を示す。第2図第
1行は質問で「花子は何が好きですか。」と読む。
第2行は、ルールを記述しており、「XがYを好
きだということは、XがZの子供で、かつ、Zが
Yを好きだということである。」と読む。第3行
〜第7行は事実関係を記述している。
The grammar, programming methods, and program examples of Prolog are described in textbooks such as Hideyuki Nakajima's ``Prolog'' (Sangyo Tosho). FIG. 2 shows an example of such a prolog program. The first line of Figure 2 is a question that reads, ``What does Hanako like?''
The second line describes the rule and reads, "X likes Y means that X is Z's child and Z likes Y." Lines 3 to 7 describe the facts.

第2図のプログラムは次のように実行される。
第1行の質問を第3行〜第7行の事実に照らし合
わせ、花子に対する事実が見当らないので、第2
行のルールを適用する。その結果、第1行の質問
は“子供(花子、Z)、好き(Z,Y)”即ち、
「花子は誰かの子供で、この誰かは何が好きか。」
という質問に置き換えられる。第1行の質問をゴ
ールと呼ぶ。次に、置き換えられた結果の新しい
質問(ゴール)は第2図、第3行〜第7行の事実
と照らし合わされ、“子供(花子、太郎)、好き
(太郎、野球)”即ち、「花子は太郎の子供で、か
つ太郎は野球が好きだ。」という結果と、“子供
(花子、和子)、好き(和子、本)”という結果が
得られる。第1の結果からは、“好き(花子、野
球)”が、第2の結果からは“好き(花子、本)”
が得られる。
The program in FIG. 2 is executed as follows.
Comparing the question in the first line with the facts in lines 3 to 7, I found no facts about Hanako, so I answered the question in the second line.
Apply row rules. As a result, the question in the first line is “Children (Hanako, Z), likes (Z, Y)”, that is,
"Hanako is someone's child, and what does this someone like?"
replaced by the question. The question in the first line is called the goal. Next, the new question (goal) resulting from the substitution is compared with the facts in lines 3 to 7 of Figure 2, and is compared to the facts in lines 3 to 7 of Figure 2. is Taro's child, and Taro likes baseball.'' and ``Children (Hanako, Kazuko), likes (Kazuko, Hon)'' are obtained. From the first result, “I like (Hanako, baseball)”, and from the second result, “I like (Hanako, books)”
is obtained.

本発明の実施例を第1図に示す。最初の質問に
対応するゴール、“好き(花子、A)”がプロセツ
サエレメント#0に渡され処理された結果、“子
供(花子、太郎)、好き(太郎、Y)”と“子供
(花子、和子)、好き(和子、Y)”という2つの
新しいゴールが生成される。これら2つの新ゴー
ルのうち、第1番目のゴールだけがゴールプール
に渡され、第2番目のゴールはプロセツサエレメ
ント#0で処理される。ゴールプールに渡された
第1番目のゴールは、待機中のプロセツサエレメ
ントのひとつ#nに渡され処理される。システム
で処理可能なゴールのすべてを処理するためのプ
ログラムおよびデータはシステムに共通な記憶場
所(図示せず)に記憶され、各プロセツサは適宜
これをアクセスする。
An embodiment of the invention is shown in FIG. The goal corresponding to the first question, “Like (Hanako, A)” is passed to Processor Element #0 and processed, resulting in “Child (Hanako, Taro), Like (Taro, Y)” and “Child (Hanako, Y)”. , Kazuko) and ``Like (Kazuko, Y)'' are generated. Of these two new goals, only the first goal is passed to the goal pool, and the second goal is processed by processor element #0. The first goal passed to the goal pool is passed to #n, one of the waiting processor elements, and processed. Programs and data for processing all of the goals that can be processed by the system are stored in a memory location (not shown) common to the system, which each processor accesses as appropriate.

本実施例では、公知例の場合に2回ずつ行な
つた新ゴールの、プロセツサエレメントからゴー
ルプールへの転送とゴールプールがプロセツサエ
レメントの転送を、それぞれ1個ずつに減少させ
ることができる。この結果、ネツトワークの使用
頻度が、公知例の5回から3回に減るので、そ
の分だけ多くのプロセツサエレメントを並列動作
させることができる。
In this embodiment, the transfer of new goals from the processor element to the goal pool and the transfer of new goals from the goal pool to the processor element, which were performed twice in the case of the known example, can be reduced to one each. . As a result, the frequency of use of the network is reduced from five times in the known example to three times, so that more processor elements can be operated in parallel.

公知例では、新ゴールの発生のたびに、自プ
ロセツサ・エレメント→東プロセツサ・エレメン
ト→南プロセツサ・エレメント→自プロセツサ・
エレメントと循環的に分配先を変えていくので、
発生した新ゴールのうちの1/3しか自プロセツサ
に閉じ込めることができない。即ち、ネツトワー
クの使用頻度は高々2/3にしか低減できない。本
発明ではひとつの推論処理毎に、少くともひとつ
の新ゴールを自プロセツサに分配するので、より
高いゴールの閉じ込め率を得ることができる。特
に、ひとつの推論処理から1、2個の新ゴールし
か発生しない場合には、公知例との差が大きく
なり有効である。
In the known example, each time a new goal occurs, the process is executed as follows: own processor element → east processor element → south processor element → own processor element.
Since the distribution destination is changed cyclically with the elements,
Only 1/3 of the new goals generated can be confined to the own processor. In other words, the frequency of network usage can be reduced by at most two-thirds. In the present invention, at least one new goal is distributed to the own processor for each inference process, so a higher goal confinement rate can be obtained. In particular, when only one or two new goals are generated from one inference process, the difference from the known example becomes large and it is effective.

〔発明の効果〕〔Effect of the invention〕

第1図の例では、2回のゴール処理で結果が得
られたが、通常、結果が得られる迄には10回以上
のゴール処理が必要とされる。本発明ではゴール
処理の結果生成した新ゴールのうちのひとつは、
ネツトワークを介してゴールプールに送ることな
く、ゴール処理を実施したプロセツサエレメント
に閉じ込める。したがつて、本発明によれば、ネ
ツトワークの使用頻度を従来の場合の10分の1程
度にまで低下させることができるので、並列型推
論計算機の性能を10倍に高める効果がある。
In the example of FIG. 1, the result was obtained after two goal processes, but normally ten or more goal processes are required before a result is obtained. In the present invention, one of the new goals generated as a result of goal processing is
Confines the goal to the processor element that executed the goal processing without sending it to the goal pool via the network. Therefore, according to the present invention, the frequency of use of the network can be reduced to about one-tenth of that in the conventional case, which has the effect of increasing the performance of the parallel inference computer by ten times.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は、プロセツサエレメント間のゴールの
受け渡しを模式的に表わした図、第2図は、プロ
ログのプログラムの例である。第2図、第1図に
おける、A,X,Y,Xは変数を表わす。
FIG. 1 is a diagram schematically showing the transfer of goals between processor elements, and FIG. 2 is an example of a prolog program. A, X, Y, and X in FIG. 2 and FIG. 1 represent variables.

Claims (1)

【特許請求の範囲】[Claims] 1 複数のプロセツサエレメントから成り、それ
ぞれのプロセツサエレメントが別個のゴールを同
時に処理し、該ゴール処理の結果生成した新しい
ゴールを各プロセツサエレメント間の交信によつ
て他のプロセツサエレメントに渡し、該プロセツ
サエレメントが次にそのゴール処理を行なう並列
型推論計算機において、ゴールの処理毎に、その
結果生成した新しいゴールのうちのひとつを、該
ゴール処理を実行したプロセツサ・エレメントに
分配し、残りの新しいゴールを他のプロセツサ・
エレメントに分配することを特徴とする並列型推
論計算機におけるゴール分配方式。
1 Consists of multiple processor elements, each processor element processes a separate goal at the same time, and passes a new goal generated as a result of the goal processing to other processor elements through communication between each processor element. , in a parallel inference computer in which the processor element next performs the goal processing, for each goal processing, one of the new goals generated as a result is distributed to the processor element that executed the goal processing, Transfer the remaining new goals to other processors.
A goal distribution method in a parallel reasoning computer characterized by distribution to elements.
JP13697585A 1985-06-25 1985-06-25 Goal distribution system for parallel type inference computer Granted JPS61296465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13697585A JPS61296465A (en) 1985-06-25 1985-06-25 Goal distribution system for parallel type inference computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13697585A JPS61296465A (en) 1985-06-25 1985-06-25 Goal distribution system for parallel type inference computer

Publications (2)

Publication Number Publication Date
JPS61296465A JPS61296465A (en) 1986-12-27
JPH0154740B2 true JPH0154740B2 (en) 1989-11-21

Family

ID=15187841

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13697585A Granted JPS61296465A (en) 1985-06-25 1985-06-25 Goal distribution system for parallel type inference computer

Country Status (1)

Country Link
JP (1) JPS61296465A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10396359B2 (en) 2014-07-08 2019-08-27 Cardiac Pacemakers, Inc. Method to stabilize lithium / carbon monofluoride battery during storage
US11527696B2 (en) 2017-10-05 2022-12-13 Google Llc Low footprint resonator in flip chip geometry

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10396359B2 (en) 2014-07-08 2019-08-27 Cardiac Pacemakers, Inc. Method to stabilize lithium / carbon monofluoride battery during storage
US11527696B2 (en) 2017-10-05 2022-12-13 Google Llc Low footprint resonator in flip chip geometry

Also Published As

Publication number Publication date
JPS61296465A (en) 1986-12-27

Similar Documents

Publication Publication Date Title
CN110610236B (en) Device and method for executing neural network operation
JPH0546593B2 (en)
Yao Optimization by genetic annealing
CN111338695A (en) Data processing method based on pipeline technology and related product
Lew Optimal conversion of extended-entry decision tables with general cost criteria
JPS6049332B2 (en) Microprogram control method
JPH0154740B2 (en)
Arden et al. MP/C: A multiprocessor/computer architecture
Nepomniaschaya Solution of path problems using associative parallel processors
CN104615697B (en) A kind of webpage level remembers return method
Bougé On the semantics of languages for massively parallel SIMD architectures
Jiang Neumann-Morgenstern stable set of a finite static strategy game
Erman et al. System organizations for speech understanding: Implications of network and multiprocessor computer architectures for AI
El-Rewini et al. On considering communication in scheduling task graphs on parallel processors
Li et al. Free parallel data mining
JPS61272825A (en) Information store and forward switching system
Gaver et al. Multitype multiprogramming models
JPS61175732A (en) Performance control system for information processor
Klein Parallel ordered attribute grammars
JP2895892B2 (en) Data processing device
Farber Efficiently modeling neural networks on massively parallel computers
JP3299164B2 (en) Computer system
Egan A Study of Data-flow: Its Application to Decentralised Control
Arbab et al. Manifold
Stenman On Model Structure Selection for Nonparametric Prediction Methods

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term