acimpoeru / opencurrent

Automatically exported from code.google.com/p/opencurrent
0 stars 0 forks source link

Tests are very brittle on low memory cards #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm working with a 1Gb card (Quadro FX 3800, if it matters) and the test 
suite fails (cuda_malloc, unsurprisingly) when I attempt to run it as it's 
currently checked in on HEAD.  RayleighTiming, at least, fails, as it 
defaults to trying a 384^2 x 192 grid, which I can't allocate.  Easily fixed 
by modifying the test, but I think that the test should probably run 
unmodified on any reasonable card.

One simple change I can see would be querying the card for available memory, 
and then running each test at a resolution that fills most of the available 
memory (up to some maximum.)  If you are amenable to this change, I'm happy 
to make it for you, in fact.

Original issue reported on code.google.com by andrewhh...@gmail.com on 13 May 2010 at 10:01

GoogleCodeExporter commented 8 years ago
If you send me your info, I can add you as developer.  Then you can commit to 
the
repository directly.

Original comment by jcohen.p...@gmail.com on 13 May 2010 at 10:22

GoogleCodeExporter commented 8 years ago
Thanks.  Do you need anything besides my google account (andrewhhunter) ?

Original comment by andrewhh...@gmail.com on 13 May 2010 at 10:36

GoogleCodeExporter commented 8 years ago
Added you as a committer.

Now don't screw anything up.  :)

Original comment by jcohen.p...@gmail.com on 13 May 2010 at 10:39

GoogleCodeExporter commented 8 years ago

Original comment by andrewhh...@gmail.com on 13 May 2010 at 10:44