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

sift: Compilation error on Intel Gen OCL Driver #3945

Open
vallsv opened this issue Oct 2, 2023 · 9 comments
Open

sift: Compilation error on Intel Gen OCL Driver #3945

vallsv opened this issue Oct 2, 2023 · 9 comments
Milestone

Comments

@vallsv
Copy link
Contributor

vallsv commented Oct 2, 2023

Trying to use sift on my computer, here is the message i have with PYOPENCL_COMPILER_OUTPUT=1

In case it's useful.

Feel free to close the issue, it is not so important to me.

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
/nobackup/lvalls1/valls/Software/miniconda3/envs/silxenv/lib/python3.8/site-packages/pyopencl/cache.py:495: CompilerWarning: Built kernel retrieved from cache. Original from-source build had warnings:
Build on <pyopencl.Device 'Intel(R) UHD Graphics Coffee Lake Desktop GT2' on 'Intel Gen OCL Driver' at 0x7f4afdb2bfe0> succeeded, but said:

stringInput.cl:114:74: warning: unknown attribute 'max_constant_size' ignored
stringInput.cl:163:70: warning: unknown attribute 'max_constant_size' ignored
stringInput.cl:455:59: warning: unknown attribute 'max_constant_size' ignored
stringInput.cl:456:59: warning: unknown attribute 'max_constant_size' ignored
stringInput.cl:457:60: warning: unknown attribute 'max_constant_size' ignored

  _create_built_program_from_source_cached(
ERROR:silx.gui.plot.CompareImages:clEnqueueNDRangeKernel failed: INVALID_GLOBAL_WORK_SIZE
@kif
Copy link
Member

kif commented Oct 12, 2023

Thanks, I will try to find a computer with the same hardware to check.

@kif
Copy link
Member

kif commented Oct 13, 2023

@pierrepaleo could you please check this on batman, I believe this computer has this kind of iGPU.

@kif
Copy link
Member

kif commented Oct 13, 2023

@ vallsv what is the size of the image you are trying to work with ?

@kif
Copy link
Member

kif commented Oct 14, 2023

I checked on a Intel Xe iGPU (Core 11th gen) and the code works ... Can you provide us with the CPU model ? (lscpu)
Coffee lake is a 8th gen.

@t20100 t20100 added this to the 2.0.0 milestone Oct 23, 2023
@vallsv
Copy link
Contributor Author

vallsv commented Oct 27, 2023

$ lscpu
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
Address sizes:       39 bits physical, 48 bits virtual
CPU(s):              6
On-line CPU(s) list: 0-5
Thread(s) per core:  1
Core(s) per socket:  6
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               158
Model name:          Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz
Stepping:            10
CPU MHz:             2498.571
CPU max MHz:         4100.0000
CPU min MHz:         800.0000
BogoMIPS:            6000.00
Virtualization:      VT-x
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            9216K
NUMA node0 CPU(s):   0-5
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities

@vallsv
Copy link
Contributor Author

vallsv commented Oct 27, 2023

The images was not so big less than 2000x2000 px, i think

@t20100
Copy link
Member

t20100 commented Dec 11, 2023

@vallsv @kif what is the status of this issue?
Does it need to be fixed for the upcoming release?

@vallsv
Copy link
Contributor Author

vallsv commented Dec 21, 2023

It's not a regression, so it's not a problem for the release

@t20100 t20100 removed this from the 2.0.0 milestone Dec 21, 2023
@kif
Copy link
Member

kif commented Dec 21, 2023

I tested on Intel core generation 4 and it works with the old "beignet" drivers.
With Ubuntu 22.04 on 11th gen it works with the same driver as Valentin has on his computer.

Could be that the bug is related to Wayland ...

@vallsv vallsv added this to the Next release milestone Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants