We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c30bdf commit bcae10aCopy full SHA for bcae10a
crates/cust/src/error.rs
@@ -52,6 +52,7 @@ pub enum CudaError {
52
InvalidPtx = 218,
53
InvalidGraphicsContext = 219,
54
NvlinkUncorrectable = 220,
55
+ UnsupportedPtxVersion = 222,
56
InvalidSource = 300,
57
FileNotFound = 301,
58
SharedObjectSymbolNotFound = 302,
@@ -160,6 +161,9 @@ impl ToResult for cudaError_enum {
160
161
cudaError_enum::CUDA_ERROR_PEER_ACCESS_UNSUPPORTED => {
162
Err(CudaError::PeerAccessUnsupported)
163
}
164
+ cudaError_enum::CUDA_ERROR_UNSUPPORTED_PTX_VERSION => {
165
+ Err(CudaError::UnsupportedPtxVersion)
166
+ }
167
cudaError_enum::CUDA_ERROR_INVALID_PTX => Err(CudaError::InvalidPtx),
168
cudaError_enum::CUDA_ERROR_INVALID_GRAPHICS_CONTEXT => {
169
Err(CudaError::InvalidGraphicsContext)
0 commit comments