Does cuda updates include base Cuda? - cuda

This may be straight forward but I need to make sure to keep my sanity, does the Cuda updates include previous releases of the same version,for example:
Cuda 11.2 has 2 updates, if I install Cuda 11.2 update 1, will it install Cuda 11.2 or should I first install Cuda 11.2 and then Cuda 11.2 update 1, also if I install Cuda 11.2 update 2 will it include the fixes introduced in Cuda 11.2 update 1 or should install them both?

The "update" versions of CUDA 11.2 are full versions. e.g. if you download CUDA 11.2.1 or 11.2.2 you're downloading all of CUDA and don't have to also download 11.2. (You could also tell by looking at the download size: 2.8 GB, similar to CUDA 11.2 itself.)
In the past, there were some patch-like updates, IIANM, but not these.

Related

What is libcublasLt.so (not libcublas.so)?

I'm compiling the source code by using pgf95 (Fortran compiler).
If I use cuda 10.0, it successfully compiles the source code.
However, If I use cuda 10.1, it fails showing that 'cannot find libcublasLt.so'.
When I scan the directory cuda-10.0/lib64, cuda-10.1/lib64, both do not have the file starting with 'libcublasLt'.
How can I solve this issue?
libcublasLt.so is the library that provides the implementation for the cublasLt API which is defined here. It just happens to be a separate shared object from libcublas.so
In the past (e.g. CUDA 10.0 and prior), most CUDA libraries were installed in /usr/local/cuda/lib64 (or similar) by default (on linux). At about the CUDA 10.1 timeframe, it was decided that some libraries would be installed in different places. CUDA 10.1 is also where the cublasLt API and library were introduced. This affected some cublas libraries and is discussed in the CUDA 10.1 release notes here (both the introduction of the cublasLt library, as well as the change in library locations).
So there are 2 possibilities here (for CUDA 10.1, CUDA 10.2):
libcublasLt.so is on your machine, but it is simply not where you were expecting to find it.
libcublasLt.so is not on your machine. This means you are working with CUDA version prior to the introduction of the cublasLt API (i.e. 10.0 or prior), or you have a broken install.
So, assuming you are working with CUDA 10.1 or CUDA 10.2, the first step is to locate/determine whether libcublasLt.so is on your machine or not. You can use a linux utility like find or locate to accomplish that. They should have man pages available for you.
If you can find it, then you need to provide the path to it, via a linker spec (e.g. -L/path/to/libcublasLt.so/
If you can't find it, then either you are working with an older version of CUDA (10.0 or prior), or you need to reinstall CUDA.
I believe by the time you get to CUDA 11.0, the CUDA packages put the cublas libraries back in /usr/local/cuda/lib64 with the other libraries. YMMV.

CUDA on Ubuntu 16.04

I am installing CUDA from this link.
Though it is a CUDA SDK 9.2, when I check the version installed using nvcc --version, I get the following results:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Tue_Aug_11_14:27:32_CDT_2015
Cuda compilation tools, release 7.5, V7.5.17
I am new to CUDA and wanted to check if this is expected. Should I expect 9.2 as the CUDA version post installation?
FYI - GPU is GeForce GTX 1080 Ti
You need to follow the official guide step by step,click here to check if the toolkit is installed correctly. Also,the post-installation-actions must be taken into consideration,click here to get more info.
I had occured the same condition u mention above, In my case, I add this path to the PATH:
$ export PATH=/usr/local/cuda-9.2/bin${PATH:+:${PATH}}
The best solution should be to modify the corresponding profile file, like this:
vim /etc/profile
Add export PATH=/usr/local/cuda-9.2/bin${PATH:+:${PATH}} to the end of the file
reboot
Good Luck.

CUDA cutil.h where is it?

Does anyone know which and where is the SDK/toolkits that contents cutil.h? I tried CUDA toolkits3.2 and toolkits5.0(I know this version it is not supported already for cutil.h)
Also I notice some mentioned about it in how to include cutil.h in linux
but which & where installer that generate "NVIDIA_GPU_Computing/C/common/inc"? My toolkit dont generate such files.
is CUDA3.0 only contain these cutil.h?
For linux, the CUDA SDK (not toolkit) installer versions 3.2 to 4.1 inclusive (at least) should install the .../C/common/inc/cutil.h file. It was eliminated in the CUDA 5.0 release and is not in the installer there as you have discovered.

Updating a Cuda 4.0 project to Cuda 4.2

I have a VS2010 project that was tested with CUDA 4.0, today I installed CUDA 4.2 and I want to update this project, the problem is that when I try to run the project it asks me for cudart32_40_17.dll, but since this is CUDA 4.2 I only have on my folders (C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.2\bin) cudart32_42_9.dll. I already set the Build Customizations to Cuda 4.2 and it compiles without any problem, the only problem is when I try to run it, the app asks me for the previous version of the dll. Is there a way to especify that the project must use cudart32_42_9.dll?
There was another library in the project that was compiled using Cuda 4.0, so I have to recompile the library (OpenCV) with Cuda 4.2.
one way, you can use nvidia parallel nsight to change it.
another is reset cuda linker point to the CUDA4.2 ,compiler use 4.2 nvcc.
good luck

What is the location of CURAND library in CUDA 2.3

I am writing a code which uses CURAND library but when I compile I get an error stating No such File or Directory. When I went to the location /usr/local/cuda/lib64 I could not find the library there. Can anyone help me here?
If I recall correctly, CURAND wasn't available until CUDA 3.2, so you'll need to upgrade to a newer version of the CUDA toolkit to use it. The current production release is CUDA 4.2, and the CUDA 5 Release Candidate is available now as well:
http://developer.nvidia.com/cuda/cuda-downloads