Tutorials
Apply PXL concepts through hands-on examples.
Prerequisites
Complete these first:
- PXL Key Concepts - Understand core concepts and workflow
- 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:
- Objective - What you’ll build
- Build Compute Kernel - MU kernel implementation
- Build Host Application - PXL API usage
- Build & Run - Compilation and execution
- 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:
- Review PXL Key Concepts for workflow and concepts
- See Troubleshooting for common issues
- Explore Tools for debugging utilities