-
Notifications
You must be signed in to change notification settings - Fork 50
Tests failing on GPU: Binary format for key='0', ident='' is not recognized #256
Description
Hi,
building sycl-blas works fine on my system but the tests only work on the host device (that is all tests fail on either
my nvidia or intel gpu).
I see the warning
/home/hschulz/SYCL/ComputeCpp-CE-2.1.0-x86_64-linux-gnu/bin/spirv-ll-tool: /lib64/libtinfo.so.5: no version information available (required by /home/hschulz/SYCL/ComputeCpp-CE-2.1.0-x86_64-linux-gnu/bin/spirv-ll-tool)
at every build step but according to codeplay's support pages this should not be an issue.
Testing e.g.
./test/unittest/blas3_gemm_test --device=nvidia:gpu
results in messages of the form
[----------] Global test environment set-up.
[----------] 72 tests from Gemm/GemmSmallBetaNonZeroLDMatchFloat
[ RUN ] Gemm/GemmSmallBetaNonZeroLDMatchFloat.test/0
Device vendor: NVIDIA Corporation
Device name: GeForce GTX 960M
Device type: gpu
Error: [ComputeCpp:RT0100] Failed to build program (<Build log for program 0xf45840 (size: 65) error : Binary format for key='0', ident='' is not recognized>)
Value mismatch at index 0: -0.814363; expected 101.708
../test/unittest/blas3/blas3_gemm_common.hpp:157: Failure
I am following your instructions to build with cmake using this command, the logfile is attached:
cmake.log
cmake -GNinja ../ -DComputeCpp_DIR=$PWD/../../ComputeCpp-CE-2.1.0-x86_64-linux-gnu/ -DCMAKE_INSTALL_PREFIX=$PWD/../local -DBLAS_ENABLE_TESTING=ON
My system is running Fedora30 and computecpp_info reports:
GLIBC version: 2.29
GLIBCXX: 20190605
This version of libstdc++ is not supported.
[...]
Device is supported : UNTESTED - Untested OS
Bitcode targets : ptx64
CL_DEVICE_NAME : GeForce GTX 960M
CL_DEVICE_VENDOR : NVIDIA Corporation
CL_DRIVER_VERSION : 440.64
CL_DEVICE_TYPE : CL_DEVICE_TYPE_GPU
Device is supported : NO - No bitcode target found
Bitcode targets :
CL_DEVICE_NAME : pthread-Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
CL_DEVICE_VENDOR : GenuineIntel
CL_DRIVER_VERSION : 1.3-pre
CL_DEVICE_TYPE : CL_DEVICE_TYPE_CPU
Device is supported : UNTESTED - Untested OS
Bitcode targets : spir32
CL_DEVICE_NAME : Intel(R) HD Graphics Skylake Halo GT2
CL_DEVICE_VENDOR : Intel
CL_DRIVER_VERSION : 1.3
CL_DEVICE_TYPE : CL_DEVICE_TYPE_GPU
I heard today that the glibc warning should not matter, too.
I am not sure why things are going wrong and would greatly appreciate any help.