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 with as many workers as there are GPUs, then call
validateGPU
inside anspmd
block.For more information about using remote GPUs, see Work with Remote GPUs.cluster = parcluster("myRemoteGPUCluster"); pool = parpool(cluster,numGPUs); spmd validateGPU end
Algorithms
Version History
Introduced in R2024b