Using gpuArray to meet a error "An unexpected error occurred trying to launch a kernel"

5 次查看(过去 30 天)
Hi,
I used gpuArray with some functions such as permute and pagefun. A error ocurred: "An unexpected error occurred trying to launch a kernel. The CUDA error was: invalid configuration argument"
Here is my gpuDevice information:
Name: 'GeForce GTX 1080'
Index: 1
ComputeCapability: '6.1'
SupportsDouble: 1
DriverVersion: 10.2000
ToolkitVersion: 10.1000
MaxThreadsPerBlock: 1024
MaxShmemPerBlock: 49152
MaxThreadBlockSize: [1024 1024 64]
MaxGridSize: [2.1475e+09 65535 65535]
SIMDWidth: 32
TotalMemory: 8.5899e+09
AvailableMemory: 6.7484e+09
MultiprocessorCount: 20
ClockRateKHz: 1759000
ComputeMode: 'Default'
GPUOverlapsTransfers: 1
KernelExecutionTimeout: 1
CanMapHostMemory: 1
DeviceSupported: 1
DeviceSelected: 1
When the error ocurred, the error could be solved by re-run the same code again without changing anything. I really don't know how to fix it.
  4 个评论

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

产品


版本

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by