validateGPU
Description
validateGPU validates the currently selected GPU device. If no GPU
device is selected, then the function validates the default device.
validateGPU( validates all GPU devices
detected in your system."all")
Examples
Input Arguments
Tips
To validate remote GPUs, start a parallel pool using your cluster, then call
validateGPUinside anspmdblock. If the workers have more than one GPU, use the"all"option.For more information about using remote GPUs, see Work with Remote GPUs.cluster = parcluster("myRemoteGPUCluster"); pool = parpool(cluster); spmd validateGPU("all") end
Algorithms
Version History
Introduced in R2024b