MATLAB: CUDA compatibility issues in R2017a

cudagpuarrayParallel Computing Toolbox

I have just upgraded to R2017a. Simple attempts to use gpuArray result in error messages like the following
>> gpuArray(1)
Error using gpuArray
An unexpected error occurred during CUDA execution. The CUDA error was:
CUDA driver version is insufficient for CUDA runtime version
The error message suggests that this is entirely CUDA-related, rather than MATLAB-related, but I have no such problem in R2015a and R2016b. Any ideas? My GPU information, as read in R2015a, is as follows,
>> gpuDevice
ans =
CUDADevice with properties:
Name: 'GeForce GTX TITAN X'
Index: 1
ComputeCapability: '5.2'
SupportsDouble: 1
DriverVersion: 8
ToolkitVersion: 6.5000
MaxThreadsPerBlock: 1024
MaxShmemPerBlock: 49152
MaxThreadBlockSize: [1024 1024 64]
MaxGridSize: [2.1475e+09 65535 65535]
SIMDWidth: 32
TotalMemory: 1.2885e+10
AvailableMemory: 1.2610e+10
MultiprocessorCount: 24
ClockRateKHz: 1076000
ComputeMode: 'Default'
GPUOverlapsTransfers: 1
KernelExecutionTimeout: 0
CanMapHostMemory: 1
DeviceSupported: 1
DeviceSelected: 1

Best Answer

OK. Solved. A driver update was needed as Edric recommended. A complete computer reboot was also required.
Related Question