clMathLibraries / clBLAS

a software library containing BLAS functions written in OpenCL
Apache License 2.0
839 stars 240 forks source link

xtrsm.cc.o build error #294

Closed hengyuanzhi closed 7 years ago

hengyuanzhi commented 7 years ago

@TimmyLiu When I build clblas2.10 with android ndk-r13b, this error is always occur. How to solve this problem. The target platform is android7.0, my opencl is 2.0, android-api=21, armv8a. My os is ubuntu16.04(x64)

/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc:1406:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (outer_block_size < N)
                          ^
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc:1412:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for (i = outer_block_size; i < N; i += outer_block_size) {
                                   ^
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc:1416:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (i + outer_block_size >= N)
                                ^
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc:1436:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (outer_block_size < N)
                          ^
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc:1442:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for (i = outer_block_size; i < N; i += outer_block_size) {
                                   ^
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc:1446:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (i + outer_block_size >= N)
                                ^
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc: At global scope:
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc:1151:10: warning: unused parameter 'numCommandQueues' [-Wunused-parameter]
  cl_uint numCommandQueues,
          ^
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc:1153:10: warning: unused parameter 'numEventsInWaitList' [-Wunused-parameter]
  cl_uint numEventsInWaitList,
          ^
/home/z00378269/clBlas/clBLAS-2.10/src/library/blas/xtrsm.cc:1154:18: warning: unused parameter 'eventWaitList' [-Wunused-parameter]
  const cl_event *eventWaitList,
                  ^
library/CMakeFiles/clBLAS.dir/build.make:643: recipe for target 'library/CMakeFiles/clBLAS.dir/blas/xtrsm.cc.o' failed
make[2]: *** [library/CMakeFiles/clBLAS.dir/blas/xtrsm.cc.o] Error 1
CMakeFiles/Makefile2:241: recipe for target 'library/CMakeFiles/clBLAS.dir/all' failed
make[1]: *** [library/CMakeFiles/clBLAS.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
hengyuanzhi commented 7 years ago

tingxingdong commented 7 years ago

why do u close it, because the error disappeared?