Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

failure in test/gemm.cpp with different configure sets #2

Open
ce1adon opened this issue Mar 9, 2020 · 0 comments
Open

failure in test/gemm.cpp with different configure sets #2

ce1adon opened this issue Mar 9, 2020 · 0 comments

Comments

@ce1adon
Copy link
Contributor

ce1adon commented Mar 9, 2020

The test "gemm1" in test/gemm.cpp in both master and rocblas branch will fail if the configure is modified to any of the following:

verify_gemm<float>(create_mat_shape({8, 4}),
                   create_mat_shape({4, 32}), 
                   create_mat_shape({8, 32}));

verify_gemm<float>(create_mat_shape({4, 8}, true),
                   create_mat_shape({4, 32}), 
                   create_mat_shape({8, 32}));

verify_gemm<float>(create_mat_shape({8, 4}),
                   create_mat_shape({4, 32}), 
                   create_mat_shape({8, 32}));

verify_gemm<float>(create_mat_shape({64, 64}),
                   create_mat_shape({64, 64}), 
                   create_mat_shape({64, 64}));

In fact, the test only verifies for cases that m=n=k and m,n,k <= 33.
Below is one of the err msg output:

$ make check
[ 80%] Built target TensileHost
[ 90%] Built target MIOpenTensile
Scanning dependencies of target test_gemm
[ 95%] Building CXX object test/CMakeFiles/test_gemm.dir/gemm.cpp.o
[100%] Linking CXX executable ../bin/test_gemm
[100%] Built target test_gemm
Test project /media/jing/Files/MIOpenTensile_rocblas/build/test
    Start 1: test_gemm
1/1 Test #1: test_gemm ........................***Failed  Error regular expression found in output. Regex=[FAILED]  3.80 sec
[   RUN    ] gemm1
a -> {8, 4}, {4, 1}
b -> {4, 32}, {32, 1}
c -> {8, 32}, {32, 1}
void mitensile::verify_gemm(mitensile::shape, mitensile::shape, mitensile::shape) [T = float]
/media/jing/Files/MIOpenTensile_rocblas/test/gemm.cpp:249:
    FAILED: cpu == gpu  [ { 660, 670, 680, 690, 700, 710, 720, 730, 740, 750, 760, 770, 780, 790, 800, 810, 820, 830, 840, 850, 860, 870, 880, 890, 900, 910, 920, 930, 940, 950, 960, 970, 1460, 1486, 1512, 1538, 1564, 1590, 1616, 1642, 1668, 1694, 1720, 1746, 1772, 1798, 1824, 1850, 1876, 1902, 1928, 1954, 1980, 2006, 2032, 2058, 2084, 2110, 2136, 2162, 2188, 2214, 2240, 2266, 2260, 2302, 2344, 2386, 2428, 2470, 2512, 2554, 2596, 2638, 2680, 2722, 2764, 2806, 2848, 2890, 2932, 2974, 3016, 3058, 3100, 3142, 3184, 3226, 3268, 3310, 3352, 3394, 3436, 3478, 3520, 3562, 3060, 3118, 3176, 3234, 3292, 3350, 3408, 3466, 3524, 3582, 3640, 3698, 3756, 3814, 3872, 3930, 3988, 4046, 4104, 4162, 4220, 4278, 4336, 4394, 4452, 4510, 4568, 4626, 4684, 4742, 4800, 4858, 3860, 3934, 4008, 4082, 4156, 4230, 4304, 4378, 4452, 4526, 4600, 4674, 4748, 4822, 4896, 4970, 5044, 5118, 5192, 5266, 5340, 5414, 5488, 5562, 5636, 5710, 5784, 5858, 5932, 6006, 6080, 6154, 4660, 4750, 4840, 4930, 5020, 5110, 5200, 5290, 5380, 5470, 5560, 5650, 5740, 5830, 5920, 6010, 6100, 6190, 6280, 6370, 6460, 6550, 6640, 6730, 6820, 6910, 7000, 7090, 7180, 7270, 7360, 7450, 5460, 5566, 5672, 5778, 5884, 5990, 6096, 6202, 6308, 6414, 6520, 6626, 6732, 6838, 6944, 7050, 7156, 7262, 7368, 7474, 7580, 7686, 7792, 7898, 8004, 8110, 8216, 8322, 8428, 8534, 8640, 8746, 6260, 6382, 6504, 6626, 6748, 6870, 6992, 7114, 7236, 7358, 7480, 7602, 7724, 7846, 7968, 8090, 8212, 8334, 8456, 8578, 8700, 8822, 8944, 9066, 9188, 9310, 9432, 9554, 9676, 9798, 9920, 10042, } == { -nan, -nan, -nan, -nan, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -nan, -nan, -nan, -nan, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -nan, -nan, -nan, -nan, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -nan, -nan, -nan, -nan, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, } ]
CMake Error at gdb/test_test_gemm/run.cmake:12 (message):
  Test failed




0% tests passed, 1 tests failed out of 1

Total Test time (real) =   3.80 sec

The following tests FAILED:
	  1 - test_gemm (Failed)
Errors while running CTest
test/CMakeFiles/check.dir/build.make:57: recipe for target 'test/CMakeFiles/check' failed
make[3]: *** [test/CMakeFiles/check] Error 8
CMakeFiles/Makefile2:290: recipe for target 'test/CMakeFiles/check.dir/all' failed
make[2]: *** [test/CMakeFiles/check.dir/all] Error 2
CMakeFiles/Makefile2:297: recipe for target 'test/CMakeFiles/check.dir/rule' failed
make[1]: *** [test/CMakeFiles/check.dir/rule] Error 2
Makefile:236: recipe for target 'check' failed
make: *** [check] Error 2
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant