Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3585341.3585343acmotherconferencesArticle/Chapter ViewAbstractPublication PagesiwoclConference Proceedingsconference-collections
research-article

Standardizing complex numbers in SYCL

Published: 18 April 2023 Publication History

Abstract

Complex numbers are used in many high performance computing applications for scientific simulations. They were missing in the SYCL 2020 specification, resulting in fragmented and inconsistent implementations in the SYCL ecosystem. To address this, we devised an extension to the standard to provide a sycl::complex type together with operators and math functions, and developed a header only implementation of this extension with liberal open source licensing that can be used in any SYCL implementation.

References

[1]
2020. ISO/IEC 14882:2020 Information technology — Programming languages — C++. https://www.iso.org/standard/79358.html
[2]
Aksel Alpay, Bálint Soproni, Holger Wünsche, and Vincent Heuveline. 2022. Exploring the Possibility of a HipSYCL-Based Implementation of OneAPI. In International Workshop on OpenCL (Bristol, United Kingdom, United Kingdom) (IWOCL’22). Association for Computing Machinery, New York, NY, USA, Article 10, 12 pages. https://doi.org/10.1145/3529538.3530005
[3]
Tsong Yueh Chen, Fei-Ching Kuo, Huai Liu, Pak-Lok Poon, Dave Towey, T. H. Tse, and Zhi Quan Zhou. 2018. Metamorphic Testing: A Review of Challenges and Opportunities. ACM Comput. Surv. 51, 1, Article 4 (jan 2018), 27 pages. https://doi.org/10.1145/3143561
[4]
Amanda S. Dufek, Rahulkumar Gayatri, Neil Mehta, Douglas Doerfler, Brandon Cook, Yasaman Ghadar, and Carleton DeTar. 2021. Case Study of Using Kokkos and SYCL as Performance-Portable Frameworks for Milc-Dslash Benchmark on NVIDIA, AMD and Intel GPUs. In 2021 International Workshop on Performance, Portability and Productivity in HPC (P3HPC). 57–67. https://doi.org/10.1109/P3HPC54578.2021.00009
[5]
Kai Germaschewski and Bryce Allen. 2022. wdmapp/gtensor: multi-dimensional array C++14 header-only library for hybrid GPU development. https://github.com/wdmapp/gtensor. https://github.com/wdmapp/gtensor
[6]
K. Germaschewski, B. Allen, T. Dannert, M. Hrywniak, J. Donaghy, G. Merlo, S. Ethier, E. D’Azevedo, F. Jenko, and A. Bhattacharjee. 2021. Toward exascale whole-device modeling of fusion devices: Porting the GENE gyrokinetic microturbulence code to GPU. Physics of Plasmas 28, 6 (2021), 062501. https://doi.org/10.1063/5.0046327 arXiv:https://doi.org/10.1063/5.0046327
[7]
ISO. 2007. International Standard ISO/IEC 9899:1999: Technical Corrigendum 3. 10 pages. http://www.iso.org/iso/en/CatalogueDetailPage.CatalogueDetail?CSNUMBER=43485;http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf
[8]
ISO. 2020. ISO/IEC 60559:2020 Information technology — Microprocessor Systems — Floating-Point arithmetic. 74 pages. https://www.iso.org/standard/80985.html
[9]
OpenMP Architecture Review Board. 2021. OpenMP Application Program Interface Version 5.2. https://www.openmp.org/wp-content/uploads/OpenMP-API-Specification-5-2.pdf
[10]
Ruyman Reyes, Gordon Brown, Rod Burns, and Michael Wong. 2020. SYCL 2020: More than Meets the Eye. In Proceedings of the International Workshop on OpenCL (Munich, Germany) (IWOCL ’20). Association for Computing Machinery, New York, NY, USA, Article 4, 1 pages. https://doi.org/10.1145/3388333.3388649
[11]
Christian R. Trott, Damien Lebrun-Grandié, Daniel Arndt, Jan Ciesko, Vinh Dang, Nathan Ellingwood, Rahulkumar Gayatri, Evan Harvey, Daisy S. Hollman, Dan Ibanez, Nevin Liber, Jonathan Madsen, Jeff Miles, David Poliakoff, Amy Powell, Sivasankaran Rajamanickam, Mikael Simberg, Dan Sunderland, Bruno Turcksin, and Jeremiah Wilke. 2022. Kokkos 3: Programming Model Extensions for the Exascale Era. IEEE Transactions on Parallel and Distributed Systems 33, 4 (2022), 805–817. https://doi.org/10.1109/TPDS.2021.3097283
[12]
Daniel Sunderland Walter E. Brown. 2019. Recommendations for Specifying “Hidden Friends”. https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1601r0.pdf

Cited By

View all
  • (2023)Porting Batched Iterative Solvers onto Intel GPUs with SYCLProceedings of the SC '23 Workshops of The International Conference on High Performance Computing, Network, Storage, and Analysis10.1145/3624062.3624181(1048-1058)Online publication date: 12-Nov-2023

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
IWOCL '23: Proceedings of the 2023 International Workshop on OpenCL
April 2023
133 pages
ISBN:9798400707452
DOI:10.1145/3585341
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 18 April 2023

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. SYCL
  2. complex numbers

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Conference

IWOCL '23
IWOCL '23: International Workshop on OpenCL
April 18 - 20, 2023
Cambridge, United Kingdom

Acceptance Rates

Overall Acceptance Rate 84 of 152 submissions, 55%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)29
  • Downloads (Last 6 weeks)2
Reflects downloads up to 21 Sep 2024

Other Metrics

Citations

Cited By

View all
  • (2023)Porting Batched Iterative Solvers onto Intel GPUs with SYCLProceedings of the SC '23 Workshops of The International Conference on High Performance Computing, Network, Storage, and Analysis10.1145/3624062.3624181(1048-1058)Online publication date: 12-Nov-2023

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

HTML Format

View this article in HTML Format.

HTML Format

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media