CUDA Library Samples license on github

What is the correct license for the publicly available CUDALibrarySamples?

The Readme says that it is under the 3-clause “New” BSD license, but the header of individuals files appears to be more restrictive.

Thank you!

You need to look into both. Headers have higher priority, because the GPL2.0 (e.g.) is not actually specifying what version is that GPL2.0-only or GPL2.0+. That can be seen only with header and code files with “or later” comment.