<div dir="ltr">Here are the Default locations,<br><div>(# is a placeholder for a number ; #.# is the CUDA version number )<br></div><div>Windows : %ProgramFile%\NVIDI GPU Computing Toolkit\CUDA\v#.#<br></div><div>Linux : /usr/local/cuda-#.# ( /usr/local/cuda is a symlink to the latest version )<br></div><div>macOS : /Developer/NVIDIA/CUDA-#.#<br></div><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">On Mon, May 22, 2017 at 6:02 PM Michael Kruse <<a href="mailto:llvmdev@meinersbur.de" target="_blank">llvmdev@meinersbur.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Never hardcode paths on Windows, they can change per system<br>
configuration, Windows language or the user might change them to any<br>
arbitrary location. Look them up using the APIs for this or from the<br>
registry.<br></blockquote><div>It's new to me that the system language can affect paths.  <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
In this case, look for the environment variables "CUDA_PATH" and<br>
"CUDA_PATH_V8_0" (or some different version) contains the path.<br></blockquote><div>Thank You Michael ! <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Michael<br>
<br>
<br>
2017-05-22 7:06 GMT+02:00 SANJAY SRIVALLABH SINGAPURAM via llvm-dev<br>
<<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>>:<br>
> The paths I found for Windows were dependent on the version of the SDK, e.g.<br>
> C:\Program Files\NVIDIA GPU<br>
> Computing Toolkit\CUDA\v8.0 or \v7.5. is there a path that's independent of<br>
> the version  ? (/usr/local/cuda for Linux)<br>
><br>
> On Mon 22 May, 2017, 9:58 AM SANJAY SRIVALLABH SINGAPURAM,<br>
> <<a href="mailto:llvmresch_int01@iith.ac.in" target="_blank">llvmresch_int01@iith.ac.in</a>> wrote:<br>
>><br>
>> Hello,<br>
>><br>
>> Can anyone help me with the default installation locations of CUDA headers<br>
>> in Windows and macOS ? e.g. /usr/local/cuda/include is the default for<br>
>> Linux.<br>
>><br>
>> Thanks,<br>
>> Sanjay<br>
><br>
><br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
><br>
</blockquote></div></div></div>