CUDA Driver and PTX code

I tried to use cuModuleLoadDataEx() from the CUDA Driver API, passing a PTX code as a text string, but I obtained error 200 and 209.
I obtained the PTX kernel code by using the nvcc option -ptx and then I made a string from it that I passed to the
Anyone can tell me where I can find a list of errors from CUDA drivers, and how I can use the cuModuleLoadDataEx?


You can obtain error codes from <cuda.h>: