Code of NVIDIA libraries

I’m very new in CUDA and my question might be silly, are NVIDIA libraries open source? Is there any way to see the code of a for example function from cublas library like cublasSgemv?


In general, libraries like cublas, cusparse, cudnn, curand, cusolver, etc. are not open source. The only method to inspect the code would be to use dump utilities such as cuobjdump in which case you’d be looking at ptx or sass code.

There are some libraries that are open source, such as thrust, cub, nccl, and perhaps others.