- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I have a piece of OneAPI code like this:
#include <sycl/sycl.hpp>
#include <sycl/ext/intel/fpga_extensions.hpp>
#include "exception_handler.hpp"
....
sycl::queue q_device(sycl::ext::intel::fpga_selector_v, fpga_tools::exception_handler, sycl::property::queue::enable_profiling());
...
It is compiled on a S10 machine s001-n142 in commands like:
source /glob/development-tools/versions/oneapi/2023.2/oneapi/setvars.sh --force
icpx -fsycl -fintelfpga demo.cpp some_fpga_image.a -o demo.out
The commands finished successfully, but when running there is an error:
./demo.out
symbol lookup error: undefined symbol: _ZN4sycl3_V15queueC2ERKNS0_6deviceERKSt8functionIFvNS0_14exception_listEEERKNS0_13property_listENS1_13DiscriminatorE
I looked at the demo.out with "nm -D demo.out" and indeed the symbol is undefined. I guess there might be some libraries I missed in the "icpx" command above?
Thanks!
Hongbo
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not sure if the error is related with my devcloud batch submission. But in an interactive command window, I removed the generated .out file and other related files, then rebuilt the .out file in the same commands, and the newly generated .out file runs just fine. Not sure why, but this issue is solved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel communities.
Is your issue resolved?
Can we go forward and close this thread?
Regards,
Diya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. Please close the thread. Thanks!
Hongbo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for confirming.
This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.
Regards,
Diya
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page