What problem does it solve?
MATLAB users often cannot tell whether their GPU is usable for GPU computing, or why calls to gpuDevice and gpuArray fail. This Skill provides a structured diagnostic workflow to detect compatible GPUs, validate them, and resolve common failure modes such as missing licenses, outdated drivers, and Windows WDDM driver model issues.
Core Features & Use Cases
- GPU Availability Detection: Uses canUseGPU, gpuDeviceTable, and gpuDevice to check whether a licensed, usable GPU exists and list all visible devices.
- Structured Diagnostics: Runs validateGPU to test each layer (toolbox, license, driver, device) and maps failures to specific resolutions via a troubleshooting table.
- Driver Model Analysis: On Windows, inspects DriverModel and KernelExecutionTimeout to identify WDDM-related kernel timeout risks and suggest remediation.
- Use Case: A user gets "unable to find a supported GPU device" when running gpuArray. The Skill walks through canUseGPU, validateGPU, and gpuDeviceTable to pinpoint whether the cause is licensing, driver version, or device visibility, then directs the user to the GPU Computing Requirements page for their MATLAB release.
Quick Start
Ask the agent to check whether your system has a compatible GPU for MATLAB and diagnose why gpuDevice is failing.