-
Notifications
You must be signed in to change notification settings - Fork 118
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
CUDA Exception: too many resources requested for launch #25
Comments
I'm currently away on an internship and thus not working on accelerate right now, but if I have a spare moment I'll try to look into it. Sorry about that = |
Hi tmcdonell, thank you for your response. I wish you do a good job on your intern. By the way, I've managed to write a working simulator, by using However, the Accelerate implementation was about 500 times slower than CUDA counterpart, sadly. This is due to my awkwardness in using Accelerate. Here I prepared a source code to explain you. You can run it like this.
see that, in line 72-73, I have
Since
I get this:
Or by doing this:
I get this:
The effect of |
Trevor, What do you think might be the problem here. Manuel Am 14/07/2011 um 22:05 schrieb nushio3:
|
I can not reproduce the first bug report, unfortunately. Specs for my test machine follow; as you can see it is not one of the high-end CUDA cards. Which version of the CUDA toolkit are you using? I haven't tried with the 4.x series yet, so maybe that has something to do with it (for example, if the way device capabilities are reported has changed). I'll test that next...
For the second, the program runs without the |
Thank you tmcdonell, for your effort. Let me see, the ghci trick I'm trying the patch 5c24257 now... |
Ah, first you need to run I have only done light testing on compute-2.0 devices since I only briefly had access to one. I recall there being some problems when the 2.0 series devices were released; maybe this is why the first example works on my 1.x series card but not your own... |
Thanks, tmcdonell, with |
Any progress on this problem? |
Nice to hear from you again! I haven't tried accelerate since ICFP2011, where I was possible to compute what I want in accelerate (but was slow.) Maybe it's a good time for me to touch the lates accelerate again! |
Good to hear from you as well. There have been many changes to Accelerate in the last few months. So, it may indeed be worthwhile to have another look. |
I'm going to go ahead and close this issue, as both of the example programs work now (it is still slow, but that's a different issue). Congratulations on your recent release of Paraiso! |
Thank you for your congratulations! I've been watching that Ryan Newton came in and accelerate is recently Please keep up the good work! 2012/6/20 Trevor L. McDonell
Takayuki MURANUSHI |
Hello,
I'm trying to use Accelerate for hydrodynamic simulations.
As a training, I'm writing a Lattice-Boltzmann solver with Accelerate. The program, under construction, is
https://github.com/nushio3/accelerate-test/blob/7a8248fa30c0e728cea0fe03ccd21bf5bed8a5ef/step05/MainAcc.hs
I have expressed what I want to write also in C++ and CUDA. They are
main-omp.cpp and main-cuda.cu at the same folder.
To begin with, I wrote a function to initialize the array in Accelerate,
(it corresponds to the function 'initialize()' in fluid.h)
but it fails with 'submit a bug report' error.
It says 'too many resources requested,' so I looked at the printout of Accelerate's kernel,
but for me it looks normal.
Am I doing something wrong, so that I'm wasting resources?
Or shall I decrease e.g. the resolution?
The text was updated successfully, but these errors were encountered: