matlab-optimize-gpu-codegen

Installation
SKILL.md

Optimize MATLAB for GPU Code Generation

Iteratively optimize a MATLAB design file for GPU Coder: compile, benchmark, apply structural optimizations, profile with gpuPerformanceAnalyzer, fix diagnostics, and verify numerical equivalence at every step.

When to Use

  • User has a MATLAB function and wants faster GPU MEX or CUDA code
  • User mentions GPU Coder, codegen, CUDA, gpuPerformanceAnalyzer
  • User asks to profile generated GPU/CUDA code or GPU MEX (profiling generated GPU code is the entry point to this skill's diagnostic-fix workflow)
  • User wants to reduce GPU memory, improve kernel parallelism, or fix Performance Analyzer diagnostics
  • User has a .m design file and representative inputs

When NOT to Use

Installs
15
GitHub Stars
920
First Seen
Aug 2, 2026
matlab-optimize-gpu-codegen — matlab/matlab-agentic-toolkit