|
1 | 1 | # SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
2 | 2 | # SPDX-License-Identifier: Apache-2.0 |
3 | 3 |
|
4 | | -# CUDA Toolkit v13.4 |
| 4 | +# Like the runtime counterpart, this fallback is a deliberately frozen |
| 5 | +# compatibility snapshot, not a release-maintained mirror of CUDA's enums. |
| 6 | +# Do not update it past CUDA Toolkit v13.1.1. Bindings releases new enough to |
| 7 | +# define later codes provide explanations through enum-member docstrings; if an |
| 8 | +# older binding receives one from a newer driver, it falls through to |
| 9 | +# cuGetErrorString(). Synchronizing this table with later Toolkit releases would |
| 10 | +# restore the duplicate maintenance burden removed by PR #1860. |
| 11 | +# CUDA Toolkit v13.1.1 |
5 | 12 | _FALLBACK_EXPLANATIONS = { |
6 | 13 | 0: ( |
7 | 14 | "The API call returned with no errors. In the case of query calls, this" |
|
54 | 61 | " time. Devices are often unavailable due to use of" |
55 | 62 | " ::CU_COMPUTEMODE_EXCLUSIVE_PROCESS or ::CU_COMPUTEMODE_PROHIBITED." |
56 | 63 | ), |
57 | | - 47: ( |
58 | | - "The API call failed because of a hardware resource required to bind memory" |
59 | | - " to a multicast object is unavailable." |
60 | | - ), |
61 | 64 | 100: ("This indicates that no CUDA-capable devices were detected by the installed CUDA driver."), |
62 | 65 | 101: ( |
63 | 66 | "This indicates that the device ordinal supplied by the user does not" |
|
123 | 126 | " work will return the same error. To continue using CUDA, the process must" |
124 | 127 | " be terminated and relaunched." |
125 | 128 | ), |
126 | | - 227: "This indicates that the Loader version is insufficient for fatbin", |
127 | 129 | 300: ( |
128 | 130 | "This indicates that the device kernel source is invalid. This includes" |
129 | 131 | " compilation/linker errors encountered in device code or user error." |
|
351 | 353 | " stream is in a detached state. This can occur if the green context associated" |
352 | 354 | " with the stream has been destroyed, limiting the stream's operational capabilities." |
353 | 355 | ), |
354 | | - 918: "This error indicates that a graph recapture failed and had to be terminated.", |
355 | | - 919: ( |
356 | | - "The GPU fabric is not ready within the bounded wait while the fabric" |
357 | | - " manager probe is still in progress (or not converging in time)." |
358 | | - " Applications may retry after a delay; for the initialization wait budget," |
359 | | - " see environment variables such as CUDA_FABRIC_INIT_TIMEOUT_MS. The CUDA" |
360 | | - " Runtime uses the same value as cudaErrorFabricNotReady." |
361 | | - ), |
362 | 356 | 999: "This indicates that an unknown internal error has occurred.", |
363 | 357 | } |
0 commit comments