I'm updating a Windows & MacOS C++ code base for a client of mine to use CUDA 10.1 instead of [8? something older], and there are 2 sections in a big internal error code list for recognized CUDA error codes; one for driver and one for runtime. Since newer error entries were missing on these lists I consulted the official driver's CUresult enum docu and the official runtime's cudaError enum docu, but to my surprise these have compatible error codes (with a few unique extra ones e.g.). The runtime error list in the code base I'm updating however is radically different from the driver list.
To probe further I picked out code 30 from the current runtime list, and it is treated as Unsupported CUDA Card
. But 30 is not even a valid option in both of the official error code lists. However, googling on cuda runtime error 30
nets me lots of forum posts about people getting error code 30, often mentioning the term "unknown error" (could be due to them passing it to cudaGetErrorName
or maybe even cuGetErrorName
, and getting that back?).
So while this code base has 30 in it and the official lists don't even mention anything 30-like, it does seem somewhat legitimate.
What am I missing here?