Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
coldav opened this issue May 9, 2024 · 3 comments
Assignees
Labels
bug Something isn't working CTS Impacts Khronos SYCL CTS

Comments

@coldav
Copy link
Contributor

coldav commented May 9, 2024

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 git@github.com: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 coldav added the bug Something isn't working label May 9, 2024
@KornevNikita
Copy link
Contributor

Hi @coldav, I also see this problem in our CI 3 days ago, but now it's gone. Could you please check if the issue really gone?

@KornevNikita KornevNikita added the CTS Impacts Khronos SYCL CTS label May 13, 2024
@coldav
Copy link
Contributor Author

coldav commented May 13, 2024

It is gone for us too, thanks @KornevNikita !

@KornevNikita
Copy link
Contributor

Nice, thanks for the quick feedback @coldav! Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CTS Impacts Khronos SYCL CTS
Projects
None yet
Development

No branches or pull requests

2 participants