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

SPV_INTEL_memory_access_aliasing causing failures in invoke_simd e2e test with dev igc driver #15159

Open
jsji opened this issue Aug 21, 2024 · 0 comments
Assignees
Labels
bug Something isn't working confirmed

Comments

@jsji
Copy link
Contributor

jsji commented Aug 21, 2024

Describe the bug

See failures in https://github.com/intel/llvm/actions/runs/10483019123

SYCL exception caught: The program was built for 1 devices
...
error: invoke_simd has SPMD function as invoke target.Only ESIMD functions can be invoked by this function.

in kernel: 'typeinfo name for main::'lambda'(sycl::_V1::handler&)::operator()(sycl::_V1::handler&) const::Test'

error: backend compiler failed build.

To reproduce

You should be able to reproduce by checking out the llvmspirv_pulldown branch and revert the revert 200d768

bin//clang++  -DIMPL_SUBGROUP -fsycl -fno-sycl-device-code-split-esimd -Xclang -fsycl-allow-func-ptr ../sycl/test-e2e/InvokeSimd/Spec/ImplicitSubgroup/../function_overloads.cpp -o n.out
 
./n.out
 

Environment

  • OS: Linux
  • Intel GPU
  • Dependencies version: pre-commit dev igc (you can use the docker to reproduce: docker run --device=/dev/dri --rm -it ghcr.io/intel/llvm/ubuntu2204_intel_drivers:devigc /bin/bash )

Additional context

No response

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

No branches or pull requests

3 participants