wow2006 / cudpp

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

cudppRand tests in cudpp_testrig fail when run from the command line #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run "cudpp_testrig -all" from the command line

What is the expected output? What do you see instead?

Expect "test passed" for all of them, but instead get a warning about not
finding a regression file.  Also, when this happens, the tests still pass!
 These should be test failures.

Original issue reported on code.google.com by harr...@gmail.com on 16 Jun 2009 at 6:44

GoogleCodeExporter commented 9 years ago
If it doesn't find a regression file then it will skip the test on that 
specific size.
If it doesn't find any regression files, hen it will skip the rand test 
completely. 
Should I change that so that it needs to find at least 1 test file?

Currently after CUDA 2.2 the regression files do not match the generated 
output.  I'm
currently working on narrowing down the bug right now.  

Original comment by Solgood...@gmail.com on 16 Jun 2009 at 6:50

GoogleCodeExporter commented 9 years ago
Skipping non-existent files is OK.  But if the files are there, it should find 
them!
 Right now it finds them if run from the IDE, but fails to find them if run from the
command line.  That's a bug.

Original comment by harr...@gmail.com on 16 Jun 2009 at 7:04

GoogleCodeExporter commented 9 years ago
ok I got it.  I will fix it.  Thank you.

Stanley

Original comment by Solgood...@gmail.com on 16 Jun 2009 at 7:07

GoogleCodeExporter commented 9 years ago

Original comment by harr...@gmail.com on 16 Jun 2009 at 12:33

GoogleCodeExporter commented 9 years ago

Original comment by harr...@gmail.com on 17 Jun 2009 at 1:39

GoogleCodeExporter commented 9 years ago
Still not fixed with Stanley's latest checkin.  If you run from the source 
directory
it fails to find the files.

Original comment by harr...@gmail.com on 22 Jun 2009 at 6:50

GoogleCodeExporter commented 9 years ago
tools.h and tools.cpp fix this issue.  Now while you're in any folder of the
repository you can run the testrig and it will search and find the /data/ 
directory.

Original comment by Solgood...@gmail.com on 26 Jun 2009 at 12:59

GoogleCodeExporter commented 9 years ago
Verified, though still having linking issues on windows for emulation mode.  See
issue 16 for that.

Original comment by harr...@gmail.com on 26 Jun 2009 at 3:57

GoogleCodeExporter commented 9 years ago

Original comment by harr...@gmail.com on 26 Jun 2009 at 3:57