Loading Events

Survival C/C++ Refresher (for HIP)

24 April 2024
9:00am - 1:00pm

📢 Brush up on your C/C++ skills with our “Survival C/C++” – Refresher Course! 📢

The C++ programming language and its C subset is used extensively in research environments. In particular it is the language utilised in the parallel programming frameworks CUDA, HIP, and OpenCL.

This workshop is designed to equip participants with “Survival C++”, an understanding of the basic syntax, how information is encoded in binary format, and how to compile and debug C++ software.

JOIN AS A PRE-REQUISITE to upcoming HIP training: The upcoming workshops from Pawsey on HIP use examples written in basic C++, and it is vital that attendees have a working knowledge of the language beforehand.

THE TOPICS:

Topics to be covered are as follows:

  • Making code understandable with comments
  • Statements and code blocks in C++
  • How integers and floats encode and approximate information.
  • Using functions
  • How to print values for debugging
  • Basic math operators in C/C++
  • Flow control such as if statements and for loops
  • Arrays and memory allocations
    • Static and dynamic memory allocation
    • Multi-dimensional array representations
  • Strings
  • Reading and writing binary data
  • Compiling C++ source code
  • Debugging with the GDB debugging tool
  • Matrix multiplication with C++

The information taught in the workshop will be accompanied by interactive examples and exercises.

Please note there are limited spots for this session. 

Register here:

  • Please note this MUST be an institutional email. We cannot accept generic accounts, such as gmail, hotmail, etc.
  • List your primary domain / research field.
  • For example: Undergraduate, PhD, Masters, Researcher, etc.
    A Pawsey Friend receives occasional newsletters with Pawsey-related updates ranging from events, job opportunities, training, news and more.
  • Your personal information is protected by the Privacy Act 1988 (Cth) (Privacy Act) Pawsey Supercomputing Research Centre is committed to protecting and respecting your privacy in accordance with this Act. We will only use your personal information to administer your account and to provide the products and services you requested from us. From time to time, we would like to contact you about our products and services, as well as other content that may be of interest to you. If you consent to us contacting you for this purpose, please tick below.

About your trainer: Toby Potter

Dr. Toby Potter is a computational physicist and proprietor of Pelagos Consulting and Education.

He has a keen interest in using computers to solve problems and showing others how to do the same. Toby was a Pawsey (then iVEC) intern in 2007 and went on to complete a doctorate in computational Astrophysics at UWA and a postdoc in computational geophysics at the Centre for Energy Geoscience (UWA).

Toby has experience in CUDA, HIP and OpenCL parallel processing frameworks and is the author of the workshop material.

At Pelagos Toby uses his background to translate mathematical ideas into software and makes challenging concepts easier for clients in industry, government, and academia.