Rust-GPU / Rust-CUDA

Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.
Apache License 2.0
3.06k stars 119 forks source link

Added UnsupportedPtxVersion to the error enum #75

Open jounathaen opened 2 years ago

jounathaen commented 2 years ago

Got an unknown error, but found out after a bit of debugging that it is only a not yet supported error code. I'm not 100% sure about the value 222. Apparently that is CUDA_ERROR_UNSUPPORTED_PTX_VERSION, but I didn't found an official source for this.

discord9 commented 2 years ago

I found the offical doc in here. There is a line state this as a member of cudaError enum.

cudaErrorUnsupportedPtxVersion = 222

Quote: "This indicates that the provided PTX was compiled with an unsupported toolchain. The most common reason for this, is the PTX was generated by a compiler newer than what is supported by the CUDA driver and PTX JIT compiler."