Tutorials

Apply PXL concepts through hands-on examples.

Prerequisites

Complete these first:

  1. PXL Key Concepts - Understand core concepts and workflow
  2. Install - Setup and verification

Available Tutorials

Hello Sort
Learn SDK fundamentals by implementing parallel sorting. Start here if you’re new to XCENA SDK.

K-Nearest Neighbors (KNN)
Implement a machine learning algorithm for classification with multiple kernels.

Jupyter Integration
Use SDK in interactive Jupyter notebooks for rapid prototyping.

Kernel Programming
Quick tips and practical guidelines for writing efficient MU kernels.

Tutorial Structure

Each tutorial follows this pattern:

  1. Objective - What you’ll build
  2. Build Compute Kernel - MU kernel implementation
  3. Build Host Application - PXL API usage
  4. Build & Run - Compilation and execution
  5. Understand the Code - Key concepts explained

After Tutorials

Once you’ve completed tutorials, explore advanced topics:

  • API Reference - Complete API documentation
  • Tools - Debugging, profiling, and optimization tools

Quick Reference

Already know the basics? Jump to specific topics:

  • NDArray usage → Hello Sort
  • Pointer-based execution → Hello Sort (pointer version)
  • Multiple kernels → KNN Application
  • Interactive development → Jupyter Integration

Getting Help

Stuck? Check these resources:


Table of contents