Hi,
This is very confusing to have the data types definitions of CUDA Driver API in a header file named “cuda.h” and the data types definitions of CUDA Runtime API in a header file named “driver_types.h”.
This should be the opposite or find another name for “driver_types.h” header file which is not as its name indicates the data type for driver API.