Reading the doc about environment variables CUDA_CACHE_PATH for windows and cuda toolkit 12.5 is %APPDATA%\NVIDIA\ComputeCache
but on my windows machine it is C:\Users\laurent\AppData\Roaming\NVIDIA\ComputeCache Is Roaming missing or my install is wrong?
Actually, neither is the case. Since the Windows 2000 era at the very least (quite possibly longer, but those days are far too small in my mental rear-view mirror to still be visible) the *AppData environment variables for Windows shake out like this:
Variable Name | Scope | Expands to |
---|---|---|
%APPDATA% |
User | β%USERPROFILE%\AppData\Roaming β |
%LOCALAPPDATA% |
User | β%USERPROFILE%\AppData\Local β |
%ALLUSERSAPPDATA% |
Machine | β%ProgramData% β(whose default value is itself β %SystemDrive%\ProgramData β) |
One of the biggest unprosecuted crimes of our era remains the failure of Microsoft to include some convenient link somewhere in that Environment Variables modal window weβve all used for decades that would open this essential single source of truth for their environment variables. As you can see, though, the variable is correct as-is, since the Roaming side of a userβs AppData folder has always been the implicit default, and this, included as part of the unadorned %APPDATA%
variable. Cheers.
Edit: Switch from prose presentation to tabular format for ease of information consumption.