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.
Kernel Programming
Quick tips and practical guidelines for writing efficient MU kernels.
Hello Sort (Heterogeneous Programming) (experimental)
Write host code and device kernels in a single file and build them with one pxcc++ invocation. See Compiler for the annotation model and full option reference.
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
Getting Help
Stuck? Check these resources:
- Review PXL Key Concepts for workflow and concepts
- See Troubleshooting for common issues
- Explore Tools for debugging utilities