Assign GPU tokens to workers in spmd
Version 1.0.0 (1.61 KB) by Chieh-Hsun Wu
This piece of code tries to give a frame work to allowing the number of workers who can use the GPU synchronously.
Updated 24 Mar 2023
This piece of code tries to give a frame work to allowing the number of workers who can use the GPU synchronously, since oftentimes the use of gpu in all workers may lead to outage of gpu memory, crushing the program.
Chieh-Hsun Wu (2023). Assign GPU tokens to workers in spmd (https://www.mathworks.com/matlabcentral/fileexchange/126759-assign-gpu-tokens-to-workers-in-spmd), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with R2023a
Compatible with any release
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.