Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Error enumerating AFCs: not found #31

Open
hecmay opened this issue May 22, 2021 · 0 comments
Open

Error enumerating AFCs: not found #31

hecmay opened this issue May 22, 2021 · 0 comments

Comments

@hecmay
Copy link

hecmay commented May 22, 2021

Hi,

I am trying to run this oneAPI example on devcloud: https://github.com/oneapi-src/oneAPI-samples/tree/master/DirectProgramming/DPC%2B%2BFPGA/Tutorials/DesignPatterns/zero_copy_data_transfer

The compilation worked fine. the host binary and FPGA bitstream are generated successfully. However, when running the binary on real FPGA on devcloud, I got the following error

u68165@s001-n143:~/oneAPI-samples/DirectProgramming/DPC++FPGA/Tutorials/DesignPatterns/zero_copy_data_transfer/build$ ./zero_copy_data_transfer.fpga 
Error enumerating AFCs: not found
Error enumerating AFCs: not found
Error enumerating AFCs: not found
Error enumerating AFCs: not found
Segmentation fault

I thought this might be caused by environment settings, so I run tools_setup command to set up the environment. After doing that, I got a different error

u68165@s001-n143:~/oneAPI-samples/DirectProgramming/DPC++FPGA/Tutorials/DesignPatterns/zero_copy_data_transfer/build$ ./zero_copy_data_transfer.fpga 
Caught a SYCL host exception:
No device of requested type available. Please check https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-dpcpp-system-requirements.html -1 (CL_DEVICE_NOT_FOUND)
If you are targeting an FPGA, please ensure that your system has a correctly configured FPGA board.
Run sys_check in the oneAPI root directory to verify.
If you are targeting the FPGA emulator, compile with -DFPGA_EMULATOR.
terminate called after throwing an instance of 'cl::sycl::runtime_error'
  what():  No device of requested type available. Please check https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-dpcpp-system-requirements.html -1 (CL_DEVICE_NOT_FOUND)
Aborted

Any thoughts how to fix this error?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant