llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[sycl cts][OpenCL][spirv] Multiple SYCL CTS tests now fail to build using OpenCL backend

Open coldav opened this issue 1 year ago • 0 comments

Describe the bug

Multiple sycl cts tests fail to build with the error : InvalidBitWidth: Invalid bit width in input:. These tests include: test_group_functions test_vector_api test_reduction test_vector_swizzles This was shown on https://github.com/codeplaysoftware/oneapi-construction-kit, host target as the OpenCL, (opencl:cpu), but I think it highly likely this would show up for any OpenCL implementation.

To reproduce

git clone [email protected]:codeplaysoftware/oneapi-construction-kit.git cd oneapi-construction-kit export ONEAPI_CON_KIT_INSTALL_DIR=$PWD/build/install

cmake -Bbuild -DCA_LLVM_INSTALL_DIR=$LLVM_INSTALL_DIR -DCA_ENABLE_API=cl -DCMAKE_INSTALL_PREFIX=$ONEAPI_CON_KIT_INSTALL_DIR $PWD cd build make -j8 install cd ../..

Build SYCL CTS as normal. Set export ONEAPI_DEVICE_SELECTOR=opencl:cpu (or whatever works on your system to select it).

Environment

No response

Additional context

No response

coldav avatar May 09 '24 08:05 coldav