The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: compiling cuda file to create ptx file
Replies: 2   Last Post: May 28, 2014 2:47 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Edric Ellis

Posts: 721
Registered: 12/7/04
Re: compiling cuda file to create ptx file
Posted: Feb 4, 2013 3:52 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"AL_math " <> writes:

> I am trying to compile a cuda file ( to create a ptx file
> in order to call cuda kernels from matlab. I am using visual studio
> 2010, cuda 5 and windows 7, 64 bit operating system. I had tried to
> compile through the command prompt as was explained in this web about
> creating kernels from cu files:
> "you can create a compiled PTX file with the shell command:
> nvcc -ptx
> This generates the file named myfun.ptx."
> But this gave me a lot of errors that I couldn't fix.
> I would really appreciate some help.

You need to have downloaded and installed the CUDA toolkit from NVIDIA's
website <> . If you've
installed that, and got nvcc on your path, perhaps you could post more
details about precisely what error you're receiving.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.