Skip to content

[CI] Temporarily disable OCL FPGA Emulator #5707

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

Merged
merged 3 commits into from
Mar 2, 2022

Conversation

alexbatashev
Copy link
Contributor

FPGA emulator causes crashes on SYCL runtime initialization.

@alexbatashev alexbatashev requested a review from bader as a code owner March 2, 2022 09:39
bader
bader previously approved these changes Mar 2, 2022
Copy link
Contributor

@bader bader left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I understand it correctly that even if we bypass sycl-ls problem and re-enable FPGA emulator environment, there will be sporadic failures of llvm-test-suite tests?

@alexbatashev
Copy link
Contributor Author

Do I understand it correctly that even if we bypass sycl-ls problem and re-enable FPGA emulator environment, there will be sporadic failures of llvm-test-suite tests?

That's right, the tests will just fail later.

@alexbatashev
Copy link
Contributor Author

FYI, the backtrace looks like this, so the very basic scenario is broken:

(gdb) thread apply all bt

Thread 1 (Thread 0x7f6f6425f000 (LWP 592)):
#0  0x00007f6f63f65f93 in Intel::OpenCL::Framework::PlatformModule::GetPlatformInfo(_cl_platform_id*, unsigned int, unsigned long, void*, unsigned long*) () from /runtimes/fpgaemu/x64/libintelocl_emu.so
#1  0x00007f6f63e62e19 in clGetPlatformInfo () from /runtimes/fpgaemu/x64/libintelocl_emu.so
#2  0x00007f6f643d83d6 in ?? () from /lib/x86_64-linux-gnu/libOpenCL.so.1
#3  0x00007f6f643d8c5d in ?? () from /lib/x86_64-linux-gnu/libOpenCL.so.1
#4  0x00007f6f643d90d3 in clGetPlatformIDs () from /lib/x86_64-linux-gnu/libOpenCL.so.1
#5  0x00007f6f6424f2ad in piPlatformsGet () from /opt/sycl/lib/libpi_opencl.so
#6  0x00007f6f64cc42fb in cl::sycl::detail::platform_impl::get_platforms() () from /opt/sycl/lib/libsycl.so.5
#7  0x00007f6f64d98f22 in cl::sycl::platform::get_platforms() () from /opt/sycl/lib/libsycl.so.5
#8  0x0000560ba889fb87 in main ()

@bader
Copy link
Contributor

bader commented Mar 2, 2022

Any ideas what might trigger this issue? I see that FPGA emulator hasn't been change for weeks - https://github.com/intel/llvm/blob/sycl/devops/dependencies.json, but the issue appeared quite recently.

@bader bader merged commit d38b599 into intel:sycl Mar 2, 2022
@yanfeng3721
Copy link
Contributor

Hi @bader , is there any plan to enable oclfpgaemu back for CI testing?
BTW, will there be an oclfpgaemu CI testing similar as the current oclcpu CI tesing "Linux / OCL x64 LLVM Test Suite" in the future?

default_selector()      : gpu, Intel(R) Level-Zero, Intel(R) UHD Graphics [0x9bca] 1.3 [1.3.24278]
  accelerator_selector()  : No device of requested type available. -1 (PI_ERRO...
  cpu_selector()          : cpu, Intel(R) OpenCL, Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz 3.0 [2022.14.8.0.04_1[600](https://github.com/intel/llvm/actions/runs/3245321030/jobs/5323539661#step:8:621)00]
  gpu_selector()          : gpu, Intel(R) Level-Zero, Intel(R) UHD Graphics [0x9bca] 1.3 [1.3.24278]
  custom_selector(gpu)    : gpu, Intel(R) Level-Zero, Intel(R) UHD Graphics [0x9bca] 1.3 [1.3.24278]
  custom_selector(cpu)    : cpu, Intel(R) OpenCL, Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz 3.0 [2022.14.8.0.04_160000]
  custom_selector(acc)    : No device of requested type available. -1 (PI_ERRO...

@bader
Copy link
Contributor

bader commented Oct 14, 2022

FPGA emulator causes crashes on SYCL runtime initialization.

@yanfeng3721, do you know if this issue has been resolved?
If so, feel free to revert this change and enable FPGA emulator validation.

BTW, will there be an oclfpgaemu CI testing similar as the current oclcpu CI tesing "Linux / OCL x64 LLVM Test Suite" in the future?

To be honest, I would rather run tests for FPGA features on FPGA emulator rather than the whole test suite. There is minor difference between OpenCL CPU and FPGA emulator, so running non-FPGA tests with OpenCL CPU should be good enough.

Tagging @pvchupin, @MrSidims and @AlexeySachkov to hear their opinions.

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

Successfully merging this pull request may close these issues.

3 participants