@article{oai:kutarr.kochi-tech.ac.jp:00000259, author = {佐藤, 重幸 and 松崎, 公紀}, issue = {4}, journal = {情報処理学会論文誌 プログラミング}, month = {}, note = {木上の並列計算を抽象化および構造化する手段として,木スケルトンというものが存在する.著者らは,木スケルトンをC++上の高階関数ライブラリとして実装してきている.この木スケルトンは,効率的な並列計算を保証するために,逐次計算において使われる演算子に加えて,補演算子も要求する.この補演算子の導出は一般に難しく,木スケルトンの利用への大きな障害となっている.そこで本研究では,既存の補演算子導出法に基づいた演算子生成器を,Cコンパイラ拡張として実装した.本システムは,木スケルトンを隠蔽することで,利用者が木スケルトンの複雑さに触れることを防ぐ.利用者は逐次的な再帰関数をCで記述するだけで,暗黙かつ単純に木スケルトンを利用できるようになる.したがって,本システムは,木上のスケルトン並列プログラミングの難しさを首尾よく解消する.Tree skeletons are known as a way of abstracting and structuringparallel computation on trees. We have been implementing tree skeletonsas a library of higher-order functions in C++. For efficient parallelcomputing, our tree skeletons necessitate auxiliary operators as well asoperators used in sequential computation. Since an auxiliary operator isdifficult to derive in general, our tree skeletons are too difficult fornon-expert programmers to use. To overcome this difficulty, on thetheoretical basis of existing work, we have developed an operatorgenerator in the form of an extension to a C compiler. By hiding a treeskeleton itself, our implementation prevents users from touching itscomplicatedness; then they have only to describe recursive functions inC to use a tree skeleton simply and implicitly. Our implementationresolves the difficulty of skeletal programming on trees successfully.}, pages = {38--49}, title = {木上のスケルトン並列プログラミングのための演算子生成器}, volume = {6}, year = {2013} }