reset
Reset GPU device and clear its memory
Syntax
Description
reset(
resets the GPU device and clears
its memory of gpudev
)gpuArray
and CUDAKernel
data. The GPU
device identified by gpudev
remains the selected device, but all
gpuArray
and CUDAKernel
objects in MATLAB
representing data on that device are invalid. The CachePolicy
property of
the device is reset to the default. For more information, see gpuDevice
.
Examples
Input Arguments
Tips
After you reset a GPU device, any variables representing arrays or kernels on the device are invalid; you should clear or redefine them.
Extended Capabilities
Version History
Introduced in R2012a