Testing idea: include multiple nvcuda.dll versions (older ones)


Here is a testing idea:

  1. Include multiple nvcuda.dll’s (the older ones) which might have functions missing.

Then cuda software which uses the driver api can be tested against older version with missing functions.

Alternatively maybe I can simply use a conditional to prevent loading of certain functions.

Though I am not completely sure which different versions there are so at the very least the cuda.h could be updated with multiple conditionals commented out like so:

// #define CUDA_VERSION 3000
// #define CUDA_VERSION 3100
// #define CUDA_VERSION 3200
#define CUDA_VERSION 4000

^ Something like that ?! ;) or some documentation which mentions which functions are missing in older versions ;) :)