Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for ptx modules with external functions #52

Closed
MichaelOhlrogge opened this issue Jul 18, 2016 · 2 comments
Closed

Support for ptx modules with external functions #52

MichaelOhlrogge opened this issue Jul 18, 2016 · 2 comments

Comments

@MichaelOhlrogge
Copy link

I'm not certain whether this issue is most appropriately situated in the CUDArt or CUDAdrv repositories or both. I'm posting in both, but will remove it from one or the other if advised so.

I am interesting in having the ability to compile ptx modules that include external functions in them and then import those as functions to use/launch from within Julia. The particular example I was recently working with was for CUBLAS functions, but the principal is far wider. I inquired about the issue on Stack Overflow here. I had thought that it would be relatively manageable, but from the answer I got, it actually sounds like it is relatively complex and involved. On the plus side, it does appear that there are precedents for establishing this kind of capability, e.g. with the JCUDA framework for Java.

I could potentially assist with such an implementation, but I doubt I'd be well positioned to take it on all myself.

Thoughts?

@ChrisRackauckas
Copy link

ChrisRackauckas commented Jul 26, 2016

This would be very nice because it would allow one to write a gpuMap function which applies an external function on a GPU array. That would reduce the complexity of GPU programming immensely if one could use vectorized functions to solve the problem.

@MichaelOhlrogge
Copy link
Author

This issue got picked up via CUDAdrv, see here. Sorry for not closing earlier!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants