SANJAY SRIVALLABH SINGAPURAM via llvm-dev
2017-May-22 04:28 UTC
[llvm-dev] Default Location of CUDA headers in Windows and macOS
Hello, Can anyone help me with the default installation locations of CUDA headers in Windows and macOS ? e.g. /usr/local/cuda/include is the default for Linux. Thanks, Sanjay -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170522/ca97c66b/attachment.html>
Tobias Grosser via llvm-dev
2017-May-22 04:35 UTC
[llvm-dev] Default Location of CUDA headers in Windows and macOS
On Mon, May 22, 2017, at 06:28 AM, SANJAY SRIVALLABH SINGAPURAM via llvm-dev wrote:> Hello, > > Can anyone help me with the default installation locations of CUDA > headers > in Windows and macOS ? e.g. /usr/local/cuda/include is the default for > Linux.Hi Sanjay, please do not cross-post two multiple lists. Check e.g. this document: http://developer.download.nvidia.com/compute/cuda/7.5/Prod/docs/sidebar/CUDA_Installation_Guide_Windows.pdf In the optimal case you just get a windows virtual machine and try it out yourself. Best, Tobias
SANJAY SRIVALLABH SINGAPURAM via llvm-dev
2017-May-22 05:06 UTC
[llvm-dev] Default Location of CUDA headers in Windows and macOS
The paths I found for Windows were dependent on the version of the SDK, e.g. C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0 or \v7.5. is there a path that's independent of the version ? (/usr/local/cuda for Linux) On Mon 22 May, 2017, 9:58 AM SANJAY SRIVALLABH SINGAPURAM, < llvmresch_int01 at iith.ac.in> wrote:> Hello, > > Can anyone help me with the default installation locations of CUDA headers > in Windows and macOS ? e.g. /usr/local/cuda/include is the default for > Linux. > > Thanks, > Sanjay >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170522/a60d8fe3/attachment.html>
Tobias Grosser via llvm-dev
2017-May-22 05:09 UTC
[llvm-dev] Default Location of CUDA headers in Windows and macOS
On Mon, May 22, 2017, at 07:06 AM, SANJAY SRIVALLABH SINGAPURAM via llvm-dev wrote:> The paths I found for Windows were dependent on the version of the SDK, > e.g. C:\Program Files\NVIDIA GPU > Computing Toolkit\CUDA\v8.0 or \v7.5. is there a path that's independent > of > the version ? (/usr/local/cuda for Linux)I never installed CUDA on Windows. Can you try to find out? Best, Tobias> > On Mon 22 May, 2017, 9:58 AM SANJAY SRIVALLABH SINGAPURAM, < > llvmresch_int01 at iith.ac.in> wrote: > > > Hello, > > > > Can anyone help me with the default installation locations of CUDA headers > > in Windows and macOS ? e.g. /usr/local/cuda/include is the default for > > Linux. > > > > Thanks, > > Sanjay > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
SANJAY SRIVALLABH SINGAPURAM via llvm-dev
2017-May-22 05:18 UTC
[llvm-dev] Fwd: Default Location of CUDA headers in Windows and macOS
---------- Forwarded message --------- From: SANJAY SRIVALLABH SINGAPURAM <llvmresch_int01 at iith.ac.in> Date: Mon 22 May, 2017, 10:47 AM Subject: Re: [llvm-dev] Default Location of CUDA headers in Windows and macOS To: Tobias Grosser <tobias.grosser at inf.ethz.ch> On Mon 22 May, 2017, 10:39 AM Tobias Grosser via llvm-dev, < llvm-dev at lists.llvm.org> wrote:> On Mon, May 22, 2017, at 07:06 AM, SANJAY SRIVALLABH SINGAPURAM via > llvm-dev wrote: > > The paths I found for Windows were dependent on the version of the SDK, > > e.g. C:\Program Files\NVIDIA GPU > > Computing Toolkit\CUDA\v8.0 or \v7.5. is there a path that's independent > > of > > the version ? (/usr/local/cuda for Linux) > > I never installed CUDA on Windows. Can you try to find out? >Alright.> > Best, > Tobias > > > > > On Mon 22 May, 2017, 9:58 AM SANJAY SRIVALLABH SINGAPURAM, < > > llvmresch_int01 at iith.ac.in> wrote: > > > > > Hello, > > > > > > Can anyone help me with the default installation locations of CUDA > headers > > > in Windows and macOS ? e.g. /usr/local/cuda/include is the default for > > > Linux. > > > > > > Thanks, > > > Sanjay > > > > > _______________________________________________ > > LLVM Developers mailing list > > llvm-dev at lists.llvm.org > > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170522/733d6ffc/attachment.html>
Michael Kruse via llvm-dev
2017-May-22 12:31 UTC
[llvm-dev] Default Location of CUDA headers in Windows and macOS
Never hardcode paths on Windows, they can change per system configuration, Windows language or the user might change them to any arbitrary location. Look them up using the APIs for this or from the registry. In this case, look for the environment variables "CUDA_PATH" and "CUDA_PATH_V8_0" (or some different version) contains the path. Michael 2017-05-22 7:06 GMT+02:00 SANJAY SRIVALLABH SINGAPURAM via llvm-dev <llvm-dev at lists.llvm.org>:> The paths I found for Windows were dependent on the version of the SDK, e.g. > C:\Program Files\NVIDIA GPU > Computing Toolkit\CUDA\v8.0 or \v7.5. is there a path that's independent of > the version ? (/usr/local/cuda for Linux) > > On Mon 22 May, 2017, 9:58 AM SANJAY SRIVALLABH SINGAPURAM, > <llvmresch_int01 at iith.ac.in> wrote: >> >> Hello, >> >> Can anyone help me with the default installation locations of CUDA headers >> in Windows and macOS ? e.g. /usr/local/cuda/include is the default for >> Linux. >> >> Thanks, >> Sanjay > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >