JP2018124975A - コンパイルプログラム、コンパイル方法及び並列処理装置 - Google Patents
コンパイルプログラム、コンパイル方法及び並列処理装置 Download PDFInfo
- Publication number
- JP2018124975A JP2018124975A JP2017196846A JP2017196846A JP2018124975A JP 2018124975 A JP2018124975 A JP 2018124975A JP 2017196846 A JP2017196846 A JP 2017196846A JP 2017196846 A JP2017196846 A JP 2017196846A JP 2018124975 A JP2018124975 A JP 2018124975A
- Authority
- JP
- Japan
- Prior art keywords
- loop
- inner loop
- performance measurement
- program
- processing
- 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.)
- Granted
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
- Devices For Executing Special Programs (AREA)
- Stored Programmes (AREA)
Abstract
Description
2 計算機
3 コンパイル装置
21 CPU
21a コア
22 メモリ
31 フラグ設定部
32 プロファイリング処理部
33 コンパイル処理部
41 対象リスト記憶部
42 初期化部
43 判定部
44 設定部
45 対象リスト処理部
50 コンピュータ
51 メインメモリ
52 CPU
53 LANインタフェース
54 HDD
55 スーパーIO
56 DVI
57 ODD
Claims (6)
- コンピュータに、
プログラムに含まれるループについて該ループに内ループが含まれるか否かを判定し、
内ループが含まれると判定した場合に前記ループに内ループ以外の処理が含まれるか否かを判定し、
前記ループに内ループ及び内ループ以外の処理が含まれると判定した場合、又は、前記ループに内ループが含まれないと判定した場合に、前記ループの性能計測を行う性能計測処理を追加する
処理を実行させることを特徴とするコンパイルプログラム。 - 前記性能計測処理を追加する処理は、性能計測処理を追加することを示すフラグをループに設定し、前記フラグに基づいて性能計測処理を追加することを特徴とする請求項1に記載のコンパイルプログラム。
- 外側にループがない全てのループをリストに入れるとともに前記内ループを前記リストに入れる処理を前記コンピュータにさらに実行させ、
前記内ループが含まれるか否かを判定する処理を、前記リストに入れられた各ループについて行うことを特徴とする請求項1又は2に記載のコンパイルプログラム。 - 前記ループに内ループが含まれ、内ループ以外の処理が含まれないと判定した場合に、該ループに複数の内ループが含まれるか否かを判定し、
複数の内ループは含まれないと判定した場合に、前記ループの性能計測を行う性能計測処理を追加することを特徴とする請求項1、2又は3に記載のコンパイルプログラム。 - コンピュータが、
プログラムに含まれるループについて該ループに内ループが含まれるか否かを判定し、
内ループが含まれると判定した場合に前記ループに内ループ以外の処理が含まれるか否かを判定し、
前記ループに内ループ及び内ループ以外の処理が含まれると判定した場合、又は、前記ループに内ループが含まれないと判定した場合に、前記ループの性能計測を行う性能計測処理を追加する
処理を実行することを特徴とするコンパイル方法。 - 複数の計算機と、該複数の計算機で実行されるプログラムをコンパイルするコンパイル装置を有する並列処理装置において、
前記コンパイル装置は、
前記プログラムに含まれるループについて該ループに内ループが含まれるか否かを判定し、内ループが含まれると判定した場合に前記ループに内ループ以外の処理が含まれるか否かを判定する判定部と、
前記判定部が、前記ループに内ループ及び内ループ以外の処理が含まれると判定した場合、又は、前記ループに内ループが含まれないと判定した場合に、前記ループの性能計測を行う性能計測処理を追加する追加部と
を有することを特徴とする並列処理装置。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/873,559 US10534691B2 (en) | 2017-01-27 | 2018-01-17 | Apparatus and method to improve accuracy of performance measurement for loop processing in a program code |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017013450 | 2017-01-27 | ||
JP2017013450 | 2017-01-27 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018124975A true JP2018124975A (ja) | 2018-08-09 |
JP6926921B2 JP6926921B2 (ja) | 2021-08-25 |
Family
ID=63109678
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017196846A Active JP6926921B2 (ja) | 2017-01-27 | 2017-10-10 | コンパイルプログラム、コンパイル方法及び並列処理装置 |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6926921B2 (ja) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05151031A (ja) * | 1991-11-29 | 1993-06-18 | Nec Corp | オーバーヘツド情報算出方式 |
JPH0962544A (ja) * | 1995-08-24 | 1997-03-07 | Fujitsu Ltd | プロファイル計装方法およびプロファイルデータ収集方法 |
JPH1124969A (ja) * | 1997-06-19 | 1999-01-29 | Hewlett Packard Co <Hp> | ループ作成方法 |
JP2006127302A (ja) * | 2004-10-29 | 2006-05-18 | Internatl Business Mach Corp <Ibm> | 情報処理装置、コンパイラ、及びコンパイラプログラム |
JP2010186301A (ja) * | 2009-02-12 | 2010-08-26 | Hitachi Ltd | プログラム変換方法、及び装置 |
US20160139901A1 (en) * | 2014-11-18 | 2016-05-19 | Qualcomm Incorporated | Systems, methods, and computer programs for performing runtime auto parallelization of application code |
-
2017
- 2017-10-10 JP JP2017196846A patent/JP6926921B2/ja active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05151031A (ja) * | 1991-11-29 | 1993-06-18 | Nec Corp | オーバーヘツド情報算出方式 |
JPH0962544A (ja) * | 1995-08-24 | 1997-03-07 | Fujitsu Ltd | プロファイル計装方法およびプロファイルデータ収集方法 |
JPH1124969A (ja) * | 1997-06-19 | 1999-01-29 | Hewlett Packard Co <Hp> | ループ作成方法 |
JP2006127302A (ja) * | 2004-10-29 | 2006-05-18 | Internatl Business Mach Corp <Ibm> | 情報処理装置、コンパイラ、及びコンパイラプログラム |
JP2010186301A (ja) * | 2009-02-12 | 2010-08-26 | Hitachi Ltd | プログラム変換方法、及び装置 |
US20160139901A1 (en) * | 2014-11-18 | 2016-05-19 | Qualcomm Incorporated | Systems, methods, and computer programs for performing runtime auto parallelization of application code |
Non-Patent Citations (1)
Title |
---|
安江俊明ほか: "動的コンパイラにおける実行時経路情報の構造的収集手法の提案", 情報処理学会論文誌, JPN6021025847, November 2003 (2003-11-01), JP, ISSN: 0004545725 * |
Also Published As
Publication number | Publication date |
---|---|
JP6926921B2 (ja) | 2021-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6116721B2 (ja) | グラフに基づく計算の動的ロード | |
JP5681473B2 (ja) | プログラムの最適化装置、最適化方法および最適化プログラム | |
US10824420B2 (en) | Caching build graphs | |
JP5988444B2 (ja) | 最適化したバイナリー・モジュールをテストする方法、並びに、当該最適化したバイナリー・モジュールをテストするためのコンピュータ及びそのコンピュータ・プログラム | |
US9009447B2 (en) | Acceleration of string comparisons using vector instructions | |
US7779393B1 (en) | System and method for efficient verification of memory consistency model compliance | |
US9619298B2 (en) | Scheduling computing tasks for multi-processor systems based on resource requirements | |
US9715440B2 (en) | Test scope determination based on code change(s) | |
US8359291B2 (en) | Architecture-aware field affinity estimation | |
JP6164054B2 (ja) | 情報処理装置、コンパイル方法およびコンパイラプログラム | |
JP6342129B2 (ja) | 混合モードプログラムのソースコードエラー位置検出装置及び方法 | |
JP2014225263A (ja) | プロセッシング装置及びプロセッシング方法 | |
US9766926B2 (en) | Method and system for optimizing parallel program execution based on speculation that an object written to is not shared | |
US20150212804A1 (en) | Loop distribution detection program and loop distribution detection method | |
KR20160098794A (ko) | 디바이스 프로그램 구조 모델링 기반 골격코드 생성 장치 및 방법 | |
WO2018032897A1 (zh) | 报文转发性能评估方法、装置和计算机存储介质 | |
KR101990603B1 (ko) | 대규모 소스 코드 저장소들에서의 자동적인 임포트들 및 의존성들 | |
JP6471615B2 (ja) | 性能情報生成プログラム、性能情報生成方法及び情報処理装置 | |
JP6926921B2 (ja) | コンパイルプログラム、コンパイル方法及び並列処理装置 | |
JP5687603B2 (ja) | プログラム変換装置、プログラム変換方法、および変換プログラム | |
US10534691B2 (en) | Apparatus and method to improve accuracy of performance measurement for loop processing in a program code | |
CN115599534A (zh) | 数据竞争检测方法、系统、集群及介质 | |
US8359456B2 (en) | Generating random addresses for verification of distributed computerized devices | |
US20150082443A1 (en) | System to automate compliance with licenses of software third-party content | |
JP2007323299A (ja) | レビュー実施順序決定装置、レビュー実施順序決定プログラム、レビュー実施順序決定プログラムが格納された記録媒体およびレビュー実施順序決定方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200709 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210628 |
|
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: 20210706 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210719 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6926921 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |