Загрузка...

Introduction to Programming GPUs using Custom Operations with MAX - Part 1: Simple Custom Op

Learn GPU Programming with Mojo + MAX | Custom Ops Tutorial (Part 1)
Ready to get started with GPU programming using Mojo and the MAX Graph API? In this beginner-friendly tutorial, we’ll show you how to build a simple custom operation that runs on CPUs and GPUs — no low-level hardware knowledge required.

👉 What you’ll learn in this video:
• How to install Magic, Modular’s package manager
• How to write a Mojo op that adds +1 to every tensor element
• How to run custom ops on NVIDIA GPUs
• How MAX Graph handles parallel workloads across devices
• How to validate your outputs using NumPy

This is Part 1 of a 3-part series — perfect for anyone looking to get hands-on with Mojo, MAX, and high-performance AI programming.

⚙️ Run it yourself:
Install Magic → download the project → magic run add_one
No CUDA setup needed — just modern NVIDIA drivers (v555+).

🔗 Try it out: https://builds.modular.com
💬 Join the Modular community: https://forum.modular.com

➡️ Coming next:
• Add two tensors
• Visualize the Mandelbrot set using Mojo’s complex types

00:00 Intro
00:26 Hardware requirements
1:06 Getting started with add_one example
1:39 MAX Graph API
2:28 Walk through add_one example
7:00 Run add_one example using magic in the command line
7:12 Try it yourself with MAX Builds
7:32 Join our forum

Join our community 🤝:
Forum - https://forum.modular.com/
GitHub - https://github.com/modular
X (aka Twitter) - https://x.com/modular
LinkedIn - https://www.linkedin.com/company/modular-ai
Reddit - https://www.reddit.com/r/ModularAI/

#gpu #programming #ml

Видео Introduction to Programming GPUs using Custom Operations with MAX - Part 1: Simple Custom Op канала Modular
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять