Color-balance demo with GPU computing
This demo shows how to identify bottlenecks in code that is run on a CPU using the MATLAB Profiler.
The computations forming the bottleneck in this example are then executed on the system's GPU using the gpuArray() command and the interface to CUDA kernels.
Code to compare the calculations from the CPU and from the GPU is also provided.
Cita come
Kye Taylor (2025). Color-balance demo with GPU computing (https://www.mathworks.com/matlabcentral/fileexchange/41089-color-balance-demo-with-gpu-computing), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Riconoscimenti
Ispirato da: MATLAB for CUDA Programmers
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.