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

Floats failing test #6

Closed
wants to merge 1 commit into from
Closed

Conversation

smacker
Copy link

@smacker smacker commented Apr 9, 2018

Output of the test:

mhcuda_init: 20 128 1523273902 0 1 2 0x7ffc1b53188c
GPU #0 has 49152 bytes of shared memory per block
GPU #0 memory: used 757071872 bytes (6.5%), free 10958012416 bytes, total 11715084288 bytes
mhcuda_init: 20 128 1523273902 1 1 2 0x7ffc1b53188c
GPU #0 has 49152 bytes of shared memory per block
GPU #0 memory: used 757071872 bytes (6.5%), free 10958012416 bytes, total 11715084288 bytes
mhcuda_calc: 0x18bcd80 0x210ae40 0x185b3e0 0x1694740 1 0x210b130
Preparing...
split: 1
resizing rows and hashes: 0 -> 1
resizing weights and cols: 0 -> 16
dev #0: binsize 16, bins 32
plans:
[0] 33, 34, 34, 34, 34, 34, 34, 34, 34, 34...
grid_sizes: 1
Executing the CUDA kernel...
dev #0: <<<1, [16, 32], 49152>>>(0, 0)
mhcuda - success
---- TRUE ----
[[[        16          0]
  [        13          0]
  [         5          0]
  [        14          0]
  [        15          0]
  [        16          0]
  [        16          0]
  [         5          0]
  [         4          0]
  [        13          0]
  [        15          0]
  [         5          0]
  [         5          0]
  [        12          0]
  [        15          0]
  [         4          0]
  [        15          0]
  [         5          0]
  [         5          0]
  [        11          0]
  [         7          0]
  [        16          0]
  [        12 4294967295]
  [        11          0]
  [        16          0]
  [        16          0]
  [         5          0]
  [        18          0]
  [         4          0]
  [         2          0]
  [        17          0]
  [         7          0]
  [         7          0]
  [         1          0]
  [        17          0]
  [         5          0]
  [        12          0]
  [         2          0]
  [        11          0]
  [         1          1]
  [         4          0]
  [        13 4294967295]
  [         7          0]
  [        17          0]
  [        12          0]
  [        19          0]
  [         7          0]
  [        17          0]
  [        17          0]
  [         2          0]
  [        12          0]
  [         1          0]
  [        14          0]
  [        16          0]
  [         3          0]
  [         4          0]
  [         7          0]
  [         1          0]
  [        14          0]
  [         8          0]
  [        17          0]
  [        12          0]
  [        13          0]
  [         2          0]
  [         7          0]
  [         3          0]
  [         3          0]
  [         2          0]
  [         2          0]
  [        13          0]
  [         8          0]
  [         4          0]
  [         5          0]
  [        16          0]
  [        17          0]
  [         1          0]
  [         8          0]
  [         2          0]
  [         1          0]
  [         5          0]
  [        12          0]
  [         3          0]
  [        18          0]
  [        14          0]
  [        13          0]
  [         7          0]
  [        12          0]
  [        17          0]
  [         2          0]
  [         7          0]
  [        17          0]
  [         1          0]
  [        18          0]
  [         1          0]
  [         3          0]
  [        11          0]
  [         1          0]
  [         7          0]
  [         5          0]
  [        14          0]
  [        16          0]
  [        19          0]
  [         4          0]
  [        14          0]
  [        14          0]
  [         3          0]
  [        19          0]
  [         4          0]
  [        17          0]
  [         4          0]
  [         1          0]
  [        19          0]
  [         7          0]
  [        13          0]
  [        16          0]
  [        18          0]
  [        13          0]
  [        15          0]
  [         3          0]
  [         2          0]
  [         1          0]
  [        17          0]
  [        15          0]
  [        11          0]
  [         4          0]
  [         1          0]
  [         3          0]
  [         5          0]]]
---- FALSE ----
[[[16  0]
  [13  0]
  [ 5  0]
  [14  0]
  [15  0]
  [16  0]
  [16  0]
  [ 5  0]
  [ 4  0]
  [13  0]
  [15  0]
  [ 5  0]
  [ 5  0]
  [12  0]
  [15  0]
  [ 4  0]
  [15  0]
  [ 5  0]
  [ 5  0]
  [11  0]
  [ 7  0]
  [16  0]
  [12  0]
  [11  0]
  [16  0]
  [16  0]
  [ 5  0]
  [18  0]
  [ 4  0]
  [ 2  0]
  [17  0]
  [ 7  0]
  [ 7  0]
  [ 1  0]
  [17  0]
  [ 5  0]
  [12  0]
  [ 2  0]
  [11  0]
  [ 1  1]
  [ 4  0]
  [13  0]
  [ 7  0]
  [17  0]
  [12  0]
  [19  0]
  [ 7  0]
  [17  0]
  [17  0]
  [ 2  0]
  [12  0]
  [ 1  0]
  [14  0]
  [16  0]
  [ 3  0]
  [ 4  0]
  [ 7  0]
  [ 1  0]
  [14  0]
  [ 8  0]
  [17  0]
  [12  0]
  [13  0]
  [ 2  0]
  [ 7  0]
  [ 3  0]
  [ 3  0]
  [ 2  0]
  [ 2  0]
  [13  0]
  [ 8  0]
  [ 4  0]
  [ 5  0]
  [16  0]
  [17  0]
  [ 1  0]
  [ 8  0]
  [ 2  0]
  [ 1  0]
  [ 5  0]
  [12  0]
  [ 3  0]
  [18  0]
  [14  0]
  [13  0]
  [ 7  0]
  [12  0]
  [17  0]
  [ 2  0]
  [ 7  0]
  [17  0]
  [ 1  0]
  [18  0]
  [ 1  0]
  [ 3  0]
  [11  0]
  [ 1  0]
  [ 7  0]
  [ 5  0]
  [14  0]
  [16  0]
  [19  0]
  [ 4  0]
  [14  0]
  [14  0]
  [ 3  0]
  [19  0]
  [ 4  0]
  [17  0]
  [ 4  0]
  [ 1  0]
  [19  0]
  [ 7  0]
  [13  0]
  [16  0]
  [18  0]
  [13  0]
  [15  0]
  [ 3  0]
  [ 2  0]
  [ 1  0]
  [17  0]
  [15  0]
  [11  0]
  [ 4  0]
  [ 1  0]
  [ 3  0]
  [ 5  0]]]
F
======================================================================
FAIL: test_float (__main__.MHCUDATests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "wmh_test.py", line 42, in test_float
    raise e from None
  File "wmh_test.py", line 36, in test_float
    self.assertTrue((hashes == true_hashes).all())
AssertionError: False is not true

Signed-off-by: Maxim Sukharev <[email protected]>
@smacker smacker force-pushed the floats_failing_test branch from 07d5b04 to cb8b1a4 Compare April 9, 2018 11:37
vmarkovtsev added a commit to vmarkovtsev/minhashcuda that referenced this pull request Apr 9, 2018
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

Successfully merging this pull request may close these issues.

1 participant