Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save hughperkins/a5feb5e62451e2d1f0ac8443e0557161 to your computer and use it in GitHub Desktop.

Select an option

Save hughperkins/a5feb5e62451e2d1f0ac8443e0557161 to your computer and use it in GitHub Desktop.
~/git-local/CLBlast/build (master|✔) $ lldb ./clblast_test_xgemv
(lldb) target create "./clblast_test_xgemv"
Current executable set to './clblast_test_xgemv' (x86_64).
(lldb) run -device 1
Process 727 launched: './clblast_test_xgemv' (x86_64)
* Options given/available:
-platform 0 [=default]
-device 1 [=default]
-full_test [false]
-verbose [false]
-cblas 1 [=default]
* Running on OpenCL device 'Intel(R) HD Graphics 530'.
* Starting tests for the 'SGEMV' routine. Legend:
: -> Test produced correct results
. -> Test returned the correct error code
X -> Test produced incorrect results
/ -> Test returned an incorrect error code
\ -> Test not executed: OpenCL-kernel compilation error
o -> Test not executed: Unsupported precision
- -> Test not completed: Reference CBLAS doesn't output error codes
* Testing with error margins of 0.5% (relative) and 0.001 (absolute)
* Testing 'regular behaviour' for '101 (row-major) 111 (regular)':
::::::::::::::::::-:-:-:-:-:-:-:-:-:::::::::::::::::::-:-:-:-:-:
-:-:-:-:
Pass rate 75.0%: 54 passed / 18 skipped / 0 failed
* Testing 'regular behaviour' for '101 (row-major) 112 (transposed)':
::::::::::::::::::-:-:-:-:-:-:-:-:-:::::::::::::::::::-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/
-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/
Status code -54 (expected 0): m=256 n=256 lda=256 incx=1 incy=1 offa=0 offx=0 offy=0 alpha=3.14 beta=3.14
Status code -54 (expected 0): m=256 n=256 lda=256 incx=1 incy=2 offa=0 offx=0 offy=0 alpha=3.14 beta=3.14
Status code -54 (expected 0): m=256 n=256 lda=256 incx=1 incy=7 offa=0 offx=0 offy=0 alpha=3.14 beta=3.14
Status code -54 (expected 0): m=256 n=256 lda=256 incx=2 incy=1 offa=0 offx=0 offy=0 alpha=3.14 beta=3.14
Status code -54 (expected 0): m=256 n=256 lda=256 incx=2 incy=2 offa=0 offx=0 offy=0 alpha=3.14 beta=3.14
Status code -54 (expected 0): m=256 n=256 lda=256 incx=2 incy=7 offa=0 offx=0 offy=0 alpha=3.14 beta=3.14
Status code -54 (expected 0): m=256 n=256 lda=256 incx=7 incy=1 offa=0 offx=0 offy=0 alpha=3.14 beta=3.14
Status code -54 (expected 0): m=256 n=256 lda=256 incx=7 incy=2 offa=0 offx=0 offy=0 alpha=3.14 beta=3.14
Status code -54 (expected 0): m=256 n=256 lda=256 incx=7 incy=7 offa=0 offx=0 offy=0 alpha=3.14 beta=3.14
Pass rate 62.5%: 45 passed / 18 skipped / 9 failed
* Testing 'regular behaviour' for '102 (col-major) 111 (regular)':
::::::::::::::::::::::::::::::::::::-:-:-:-:-:-:-:-:-:-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/
-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/
Status code -54 (expected 0): m=256 n=256 lda=256 incx=1 incy=1 offa=0 offx=0 offy=0 alpha=3.14 beta=3.14
Status code -54 (expected 0): m=256 n=256 lda=256 incx=1 incy=2 offa=0 offx=0 offy=0 alpha=3.14 beta=3.14
Status code -54 (expected 0): m=256 n=256 lda=256 incx=1 incy=7 offa=0 offx=0 offy=0 alpha=3.14 beta=3.14
Status code -54 (expected 0): m=256 n=256 lda=256 incx=2 incy=1 offa=0 offx=0 offy=0 alpha=3.14 beta=3.14
Status code -54 (expected 0): m=256 n=256 lda=256 incx=2 incy=2 offa=0 offx=0 offy=0 alpha=3.14 beta=3.14
Status code -54 (expected 0): m=256 n=256 lda=256 incx=2 incy=7 offa=0 offx=0 offy=0 alpha=3.14 beta=3.14
Status code -54 (expected 0): m=256 n=256 lda=256 incx=7 incy=1 offa=0 offx=0 offy=0 alpha=3.14 beta=3.14
Status code -54 (expected 0): m=256 n=256 lda=256 incx=7 incy=2 offa=0 offx=0 offy=0 alpha=3.14 beta=3.14
Status code -54 (expected 0): m=256 n=256 lda=256 incx=7 incy=7 offa=0 offx=0 offy=0 alpha=3.14 beta=3.14
Pass rate 62.5%: 45 passed / 18 skipped / 9 failed
* Testing 'regular behaviour' for '102 (col-major) 112 (transposed)':
::::::::::::::::::::::::::::::::::::-:-:-:-:-:-:-:-:-:-:-:-:-:-:
-:-:-:-:
Pass rate 75.0%: 54 passed / 18 skipped / 0 failed
* Completed all test-cases for this routine. Results:
198 test(s) passed
72 test(s) skipped
18 test(s) failed
* Running on OpenCL device 'Intel(R) HD Graphics 530'.
* Starting tests for the 'DGEMV' routine.
* All tests skipped: Unsupported precision
* Running on OpenCL device 'Intel(R) HD Graphics 530'.
* Starting tests for the 'CGEMV' routine. Legend:
: -> Test produced correct results
. -> Test returned the correct error code
X -> Test produced incorrect results
/ -> Test returned an incorrect error code
\ -> Test not executed: OpenCL-kernel compilation error
o -> Test not executed: Unsupported precision
- -> Test not completed: Reference CBLAS doesn't output error codes
* Testing with error margins of 0.5% (relative) and 0.001 (absolute)
* Testing 'regular behaviour' for '101 (row-major) 111 (regular)':
::::::::::::::::::-:-:-:-:-:-:-:-:-:::::::::::::::::::-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/
-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/
Status code -54 (expected 0): m=256 n=256 lda=256 incx=1 incy=1 offa=0 offx=0 offy=0 alpha=2.42+3.14i beta=2.42+3.14i
Status code -54 (expected 0): m=256 n=256 lda=256 incx=1 incy=2 offa=0 offx=0 offy=0 alpha=2.42+3.14i beta=2.42+3.14i
Status code -54 (expected 0): m=256 n=256 lda=256 incx=1 incy=7 offa=0 offx=0 offy=0 alpha=2.42+3.14i beta=2.42+3.14i
Status code -54 (expected 0): m=256 n=256 lda=256 incx=2 incy=1 offa=0 offx=0 offy=0 alpha=2.42+3.14i beta=2.42+3.14i
Status code -54 (expected 0): m=256 n=256 lda=256 incx=2 incy=2 offa=0 offx=0 offy=0 alpha=2.42+3.14i beta=2.42+3.14i
Status code -54 (expected 0): m=256 n=256 lda=256 incx=2 incy=7 offa=0 offx=0 offy=0 alpha=2.42+3.14i beta=2.42+3.14i
Status code -54 (expected 0): m=256 n=256 lda=256 incx=7 incy=1 offa=0 offx=0 offy=0 alpha=2.42+3.14i beta=2.42+3.14i
Status code -54 (expected 0): m=256 n=256 lda=256 incx=7 incy=2 offa=0 offx=0 offy=0 alpha=2.42+3.14i beta=2.42+3.14i
Status code -54 (expected 0): m=256 n=256 lda=256 incx=7 incy=7 offa=0 offx=0 offy=0 alpha=2.42+3.14i beta=2.42+3.14i
Pass rate 62.5%: 45 passed / 18 skipped / 9 failed
* Testing 'regular behaviour' for '101 (row-major) 112 (transposed)':
::::::::::::::::::-:-:-:-:-:-:-:-:-:::::::::::::::::::-:-:-:-:-:
-:-:-:-:
Pass rate 75.0%: 54 passed / 18 skipped / 0 failed
* Testing 'regular behaviour' for '101 (row-major) 113 (conjugate)':
::::::::::::::::::-:-:-:-:-:-:-:-:-:::::::::::::::::::-:-:-:-:-:
-:-:-:-:
Pass rate 75.0%: 54 passed / 18 skipped / 0 failed
* Testing 'regular behaviour' for '102 (col-major) 111 (regular)':
::::::::::::::::::::::::::::::::::::-:-:-:-:-:-:-:-:-:-:-:-:-:-:
-:-:-:-:
Pass rate 75.0%: 54 passed / 18 skipped / 0 failed
* Testing 'regular behaviour' for '102 (col-major) 112 (transposed)':
::::::::::::::::::::::::::::::::::::-:-:-:-:-:-:-:-:-:-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/
-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/-CLBlast: OpenCL error: clEnqueueNDRangeKernel: -54
/
Status code -54 (expected 0): m=256 n=256 lda=256 incx=1 incy=1 offa=0 offx=0 offy=0 alpha=2.42+3.14i beta=2.42+3.14i
Status code -54 (expected 0): m=256 n=256 lda=256 incx=1 incy=2 offa=0 offx=0 offy=0 alpha=2.42+3.14i beta=2.42+3.14i
Status code -54 (expected 0): m=256 n=256 lda=256 incx=1 incy=7 offa=0 offx=0 offy=0 alpha=2.42+3.14i beta=2.42+3.14i
Status code -54 (expected 0): m=256 n=256 lda=256 incx=2 incy=1 offa=0 offx=0 offy=0 alpha=2.42+3.14i beta=2.42+3.14i
Status code -54 (expected 0): m=256 n=256 lda=256 incx=2 incy=2 offa=0 offx=0 offy=0 alpha=2.42+3.14i beta=2.42+3.14i
Status code -54 (expected 0): m=256 n=256 lda=256 incx=2 incy=7 offa=0 offx=0 offy=0 alpha=2.42+3.14i beta=2.42+3.14i
Status code -54 (expected 0): m=256 n=256 lda=256 incx=7 incy=1 offa=0 offx=0 offy=0 alpha=2.42+3.14i beta=2.42+3.14i
Status code -54 (expected 0): m=256 n=256 lda=256 incx=7 incy=2 offa=0 offx=0 offy=0 alpha=2.42+3.14i beta=2.42+3.14i
Status code -54 (expected 0): m=256 n=256 lda=256 incx=7 incy=7 offa=0 offx=0 offy=0 alpha=2.42+3.14i beta=2.42+3.14i
Pass rate 62.5%: 45 passed / 18 skipped / 9 failed
* Testing 'regular behaviour' for '102 (col-major) 113 (conjugate)':
::::::::::::::::::::::::::::::::::::-:-:-:-:-:-:-:-:-:-:-:-:-:-:
-:-:-:-:
Pass rate 75.0%: 54 passed / 18 skipped / 0 failed
* Completed all test-cases for this routine. Results:
306 test(s) passed
108 test(s) skipped
18 test(s) failed
* Running on OpenCL device 'Intel(R) HD Graphics 530'.
* Starting tests for the 'ZGEMV' routine.
* All tests skipped: Unsupported precision
* Running on OpenCL device 'Intel(R) HD Graphics 530'.
* Starting tests for the 'HGEMV' routine.
* All tests skipped: Unsupported precision
Process 727 exited with status = 1 (0x00000001)
(lldb) break set -E c++
Breakpoint 2: 2 locations.
(lldb) run -device 1
Process 731 launched: './clblast_test_xgemv' (x86_64)
* Options given/available:
-platform 0 [=default]
-device 1 [=default]
-full_test [false]
-verbose [false]
-cblas 1 [=default]
* Running on OpenCL device 'Intel(R) HD Graphics 530'.
* Starting tests for the 'SGEMV' routine. Legend:
: -> Test produced correct results
. -> Test returned the correct error code
X -> Test produced incorrect results
/ -> Test returned an incorrect error code
\ -> Test not executed: OpenCL-kernel compilation error
o -> Test not executed: Unsupported precision
- -> Test not completed: Reference CBLAS doesn't output error codes
* Testing with error margins of 0.5% (relative) and 0.001 (absolute)
* Testing 'regular behaviour' for '101 (row-major) 111 (regular)':
::::::::::::::::::Process 731 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
frame #0: 0x00007fffce4f9765 libc++abi.dylib`__cxa_throw
libc++abi.dylib`__cxa_throw:
-> 0x7fffce4f9765 <+0>: pushq %rbp
0x7fffce4f9766 <+1>: movq %rsp, %rbp
0x7fffce4f9769 <+4>: pushq %r15
0x7fffce4f976b <+6>: pushq %r14
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 2.1
* frame #0: 0x00007fffce4f9765 libc++abi.dylib`__cxa_throw
frame #1: 0x00000001003509d4 libclblast.dylib`void clblast::TestMatrixA<float>(unsigned long, unsigned long, clblast::Buffer<float> const&, unsigned long, unsigned long) + 148
frame #2: 0x000000010037c8c8 libclblast.dylib`clblast::Xgemv<float>::MatVec(clblast::Layout, clblast::Transpose, unsigned long, unsigned long, float, clblast::Buffer<float> const&, unsigned long, unsigned long, clblast::Buffer<float> const&, unsigned long, unsigned long, float, clblast::Buffer<float> const&, unsigned long, unsigned long, bool, bool, unsigned long, bool, unsigned long, unsigned long) + 216
frame #3: 0x000000010037c7dd libclblast.dylib`clblast::Xgemv<float>::DoGemv(clblast::Layout, clblast::Transpose, unsigned long, unsigned long, float, clblast::Buffer<float> const&, unsigned long, unsigned long, clblast::Buffer<float> const&, unsigned long, unsigned long, float, clblast::Buffer<float> const&, unsigned long, unsigned long) + 45
frame #4: 0x0000000100322527 libclblast.dylib`clblast::StatusCode clblast::Gemv<float>(clblast::Layout, clblast::Transpose, unsigned long, unsigned long, float, _cl_mem*, unsigned long, unsigned long, _cl_mem*, unsigned long, unsigned long, float, _cl_mem*, unsigned long, unsigned long, _cl_command_queue**, _cl_event**) + 535
frame #5: 0x000000010001b4e2 clblast_test_xgemv`clblast::TestXgemv<float>::RunRoutine(clblast::Arguments<float> const&, clblast::Buffers<float>&, clblast::Queue&) + 130
frame #6: 0x0000000100052989 clblast_test_xgemv`clblast::TestBlas<float, float>::TestRegular(std::__1::vector<clblast::Arguments<float>, std::__1::allocator<clblast::Arguments<float> > >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 1385
frame #7: 0x000000010000b02c clblast_test_xgemv`unsigned long clblast::RunTests<clblast::TestXgemv<float>, float, float>(int, char**, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 8844
frame #8: 0x0000000100008c2e clblast_test_xgemv`main + 78
frame #9: 0x00007fffcf8ed235 libdyld.dylib`start + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment