oneapi-src / oneAPI-samples

Samples for Intel® oneAPI Toolkits
https://oneapi-src.github.io/oneAPI-samples/
MIT License
965 stars 696 forks source link

Simulation encounters error #1805

Closed HxJi closed 5 days ago

HxJi commented 1 year ago

Summary

I tried to run the vector_add example under DirectProgramming/C++SYCL. The emulation runs well and the simulation can be compiled successfully. However, the simulation failed to run.

Version

oneAPI Toolkit version: 2023.01 oneAPI Sample version: 5be94f

Environment

OS: Ubuntu 22.04 Quartus Prime Pro 22.4 Questa Starter 22.4

Steps to reproduce

cd oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/vector-add/
mkdir build
cd build
cmake ..
make fpga_sim
CL_CONTEXT_MPSIM_DEVICE_INTELFPGA=1 ./vector-add-buffers.fpga_sim

Observed behavior

The simulation failed and returned the following message:

The simulation process encountered an error and has aborted.
Error: The simulator's process ended unexpectedly. Check oneAPI-samples/DirectProgramming/C++SYCL_FPGA/Tutorials/GettingStarted/fpga_compile/part4_dpcpp_lambda_buffers/src/vector_add_sim.fpga_sim.prj/transcript.log for details.
vector_add_sim.fpga_sim: src/hls_cosim_ipc_socket.cpp:249: void IPCSocketMaster::connect(): Assertion `0 && "IPCSocketMaster::connect() call to accept() failed"' failed.
Aborted (core dumped)

Expected behavior

The simulation runs well.

jimmytwei commented 1 year ago

@yuguen-intel Any ideas?

yuguen-intel commented 1 year ago

First time I'm seeing this issue, I'm sending the link to this issue to FPGA sim experts

yuguen-intel commented 1 year ago

What is the content of the transcript.log file?

HxJi commented 1 year ago

Thanks for getting back to me. I am updating Quartus to a newer version 23.2 and rerun the simulation. Will upload the log file when it is done.

yuguen-intel commented 5 days ago

As there was no update I'm closing the case