xiaozhenBoy / cudamat

Automatically exported from code.google.com/p/cudamat
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Failed 3 Tests on Win7 #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Installed cudamat on Windows (and all its dependencies)
2. ran test_cudamat.py
3.

What is the expected output? What do you see instead?
I expected it to pass all the tests. Instead it failed 3 tests
C:\Users\mtl\Documents\Deep\cudamat>\pythonxy_theano\python.exe test_cudamat.py
.............FFF...........................
======================================================================
FAIL: cudamat.test_cudamat.test_sum
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\pythonxy_theano\lib\site-packages\nose\case.py", line 187, in runTest

    self.test(*self.arg)
  File "C:\Users\mtl\Documents\Deep\cudamat\test_cudamat.py", line 293, in test_sum
    assert np.max(np.abs(c1 - mt1.numpy_array)) < 10**-4, "Error in CUDAMatrix.sum exceeded threshold"
AssertionError: Error in CUDAMatrix.sum exceeded threshold

======================================================================
FAIL: cudamat.test_cudamat.test_sum_trans
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\pythonxy_theano\lib\site-packages\nose\case.py", line 187, in runTest

    self.test(*self.arg)
  File "C:\Users\mtl\Documents\Deep\cudamat\test_cudamat.py", line 324, in test_sum_trans
    assert np.max(np.abs(c1 - mt1.numpy_array)) < 10**-4, "Error in CUDAMatrix.sum exceeded threshold"
AssertionError: Error in CUDAMatrix.sum exceeded threshold

======================================================================
FAIL: cudamat.test_cudamat.test_add_sums
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\pythonxy_theano\lib\site-packages\nose\case.py", line 187, in runTest

    self.test(*self.arg)
  File "C:\Users\mtl\Documents\Deep\cudamat\test_cudamat.py", line 352, in test_add_sums
    assert np.max(np.abs(c1 - mt1.numpy_array)) < 10**-4, "Error in CUDAMatrix.add_sums exceeded threshold"
AssertionError: Error in CUDAMatrix.add_sums exceeded threshold

----------------------------------------------------------------------
Ran 43 tests in 2.071s

FAILED (failures=3)

What version of the product are you using? On what operating system?
version .3
MS Windows 7 Ultimate
NVidia Win7 32-bit developer drivers 270.81
MS Visual C++ Express
Python(x,y) 2.6.6
CUDA 4.0

Please provide any additional information below.
My GPU is an ION2. It might be that the default limits might be a bit too much 
for this chip for 3 of the tests.

Original issue reported on code.google.com by masonlo...@gmail.com on 6 Jun 2011 at 7:37