Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 799 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 799 Bytes

Material for the Course: Modern Computing for Physics

M.Sc. in Physics of Data — University of Padova — Academic Year 2024-2025

CUDA-C

  • Hello World in CUDA
  • Scalar Sum
  • Vector Sum
  • Elementwise Matrix Manipulation
  • Matrix Multiplication
  • Stencil Operations
  • Reduction Operations

Numba

  • jit
  • vectorize
  • guvectorize

CUDA in Python with Numba and CuPy

  • (gu)vectorize with CUDA Backend
  • cuda.jit
  • cupy

All code has been tested targeting the NVIDIA Jetson Nano 2GB Dev Kit.

Warning

For more time-consuming computations on the NVIDIA Jetson Nano, it is recommended to disable the timeout, which is set by default at 5 seconds. To do this, run the script provided under the MCP folder as sudo.

sudo ./disable_timeout.sh