Skip to main content

2018 | OriginalPaper | Buchkapitel

Automatic Testing of OpenACC Applications

verfasst von : Khalid Ahmad, Michael Wolfe

Erschienen in: Accelerator Programming Using Directives

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

PCAST (PGI Compiler-Assisted Software Testing) is a feature being developed in the PGI compilers and runtime to help users automate testing high performance numerical programs. PCAST normally works by running a known working version of a program and saving intermediate results to a reference file, then running a test version of a program and comparing the intermediate results against the reference file. Here, we describe the special case of using PCAST on OpenACC programs running on a GPU-accelerated system. Instead of saving to and comparing against a reference file, the compiler generates code to run each compute region on both the host CPU and the GPU. The values computed on the host and GPU are then compared, using OpenACC data directives and clauses to decide what data to compare.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
2.
Zurück zum Zitat Goldberg, D.: What every computer scientist should know about floating-point arithmetic. ACM Comput. Surv. 23(1), 5–47 (1991)CrossRef Goldberg, D.: What every computer scientist should know about floating-point arithmetic. ACM Comput. Surv. 23(1), 5–47 (1991)CrossRef
3.
Zurück zum Zitat Wolfe, M., Lee, S., Kim, J., Tian, X., Xu, R., Chandrasekaran, S., Chapman, B.: Implementing the OpenACC data model. In: Parallel and Distributed Processing Symposium Workshops, Lake Buena Vista, Fla., pp. 662–672, May 2017 Wolfe, M., Lee, S., Kim, J., Tian, X., Xu, R., Chandrasekaran, S., Chapman, B.: Implementing the OpenACC data model. In: Parallel and Distributed Processing Symposium Workshops, Lake Buena Vista, Fla., pp. 662–672, May 2017
4.
Zurück zum Zitat Bartlett, J., Gray, J., Horst, B.: Fault Tolerance in Tandem Computer Systems, Tandem Computers, Cal., Technical report 86.2, March 1986 Bartlett, J., Gray, J., Horst, B.: Fault Tolerance in Tandem Computer Systems, Tandem Computers, Cal., Technical report 86.2, March 1986
5.
Zurück zum Zitat Fraser, D.C., Felleman, P.G.: Digital fly-by-wire computers lead the way. Astronaut. Aeronaut. 12, 24–32 (1974) Fraser, D.C., Felleman, P.G.: Digital fly-by-wire computers lead the way. Astronaut. Aeronaut. 12, 24–32 (1974)
6.
Zurück zum Zitat Abramson, D.A., Sosic, R.: Relative debugging: a new debugging paradigm. School of Computing and Information Technology, Faculty of Science and Technology, Griffith University (1994) Abramson, D.A., Sosic, R.: Relative debugging: a new debugging paradigm. School of Computing and Information Technology, Faculty of Science and Technology, Griffith University (1994)
7.
Zurück zum Zitat Abramson, D., Foster, I., Michalakes, J., Sosič, R.: Relative debugging: a new methodology for debugging scientific applications. Commun. ACM 39(11), 69–77 (1996)CrossRef Abramson, D., Foster, I., Michalakes, J., Sosič, R.: Relative debugging: a new methodology for debugging scientific applications. Commun. ACM 39(11), 69–77 (1996)CrossRef
8.
Zurück zum Zitat Jost, G., Hood, R.: Relative debugging of automatically parallelized programs. Autom. Softw. Eng. 10(1), 75–101 (2003)CrossRef Jost, G., Hood, R.: Relative debugging of automatically parallelized programs. Autom. Softw. Eng. 10(1), 75–101 (2003)CrossRef
9.
Zurück zum Zitat Matthews, G., Hood, R., Jin, H., Johnson, S., Ierotheou, C., et al.: Automatic relative debugging of OpenMP programs. In: Proceedings of EWOMP, Aachen, Germany (2003) Matthews, G., Hood, R., Jin, H., Johnson, S., Ierotheou, C., et al.: Automatic relative debugging of OpenMP programs. In: Proceedings of EWOMP, Aachen, Germany (2003)
10.
Zurück zum Zitat DeRose, L., Gontarek, A., Vose, A., Moench, R., Abramson, D., Dinh, M.N., Jin, C.: Relative debugging for a highly parallel hybrid computer system. In: Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, SC 2015, November 2015 DeRose, L., Gontarek, A., Vose, A., Moench, R., Abramson, D., Dinh, M.N., Jin, C.: Relative debugging for a highly parallel hybrid computer system. In: Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, SC 2015, November 2015
11.
Zurück zum Zitat Lee, S., Vetter, J.S.: OpenARC: open accelerator research compiler for directive-based, efficient heterogeneous computing. In: Proceedings of the 23rd International Symposium on High-performance Parallel and Distributed Computing, pp. 115–120, June 2014 Lee, S., Vetter, J.S.: OpenARC: open accelerator research compiler for directive-based, efficient heterogeneous computing. In: Proceedings of the 23rd International Symposium on High-performance Parallel and Distributed Computing, pp. 115–120, June 2014
12.
Zurück zum Zitat Lee, S., Le, D., Vetter, J.S.: Interactive programming debugging and optimization for directive-based, efficient GPU computing. In: Proceedings of the 28th International Parallel and Distributed Processing Symposium, May 2014 Lee, S., Le, D., Vetter, J.S.: Interactive programming debugging and optimization for directive-based, efficient GPU computing. In: Proceedings of the 28th International Parallel and Distributed Processing Symposium, May 2014
13.
Zurück zum Zitat Sato, K., Ahn, D.H., Laguna, I., Lee, G.L., Schulz, M.: Clock delta compression for scalable order-replay of non-deterministic parallel applications. In: International Conference for High Performance Computing, Networking, Storage and Analysis, SC 2015, pp. 1–12. IEEE (2015) Sato, K., Ahn, D.H., Laguna, I., Lee, G.L., Schulz, M.: Clock delta compression for scalable order-replay of non-deterministic parallel applications. In: International Conference for High Performance Computing, Networking, Storage and Analysis, SC 2015, pp. 1–12. IEEE (2015)
Metadaten
Titel
Automatic Testing of OpenACC Applications
verfasst von
Khalid Ahmad
Michael Wolfe
Copyright-Jahr
2018
DOI
https://doi.org/10.1007/978-3-319-74896-2_8

Premium Partner