intel / intel-graphics-compiler

Other
594 stars 155 forks source link

Lowering test for llvm.bitreverse for 2/4-bit scalars fails on GPU #330

Open LU-JOHN opened 4 months ago

LU-JOHN commented 4 months ago

llvm.bitreverse for 2/4-bit scalars is lowered to: lshl, shr, and, or operations on 2/4-bit types. E2E testing is done in:

https://github.com/intel/llvm/pull/13359

and all tests are passing except on GPU (GEN12, DG2, PVC fail)

LU-JOHN commented 4 months ago

Driver reports:

terminate called after throwing an instance of 'sycl::_V1::compile_program_error' what(): The program was built for 1 devices Build program log for 'Intel(R) Iris(R) Xe Graphics': IGC: Internal Compiler Error: Segmentation violation -11 (PI_ERROR_BUILD_PROGRAM_FAILURE) Aborted (core dumped)