matlab-setup-gpu
Installation
SKILL.md
Set Up GPU for MATLAB
Detect whether a compatible GPU is available, validate it works, and diagnose common failure modes.
When to Use
- User wants to check if their system can run GPU code in MATLAB
- User gets errors when calling
gpuDeviceorgpuArray - User wants to set up or select a specific GPU in a multi-GPU system
- User needs to troubleshoot why GPU computing isn't working
- As a prerequisite check before any GPU-accelerated workflow
When NOT to Use
- Writing or optimizing GPU-accelerated code — this skill only detects and diagnoses GPU availability
- Monitoring GPU memory or utilization during computation — use
gpuDeviceproperties directly or NVIDIA tools - Distributing work across multiple GPUs with parallel pools — use
parpoolworkflows