由於 DevCloud 環境中的 Intel® OneAPI 版本 2022.3 有問題,在執行屬性 -Xprofile 的編譯時,後端設定檔傳遞中可能會看到這個錯誤。
若要在 Devcloud 中解決這個問題,請按照以下步驟操作:
- 關閉 -Xprofile 旗標 (判罰中的 Makefile:dpcpp -fintelfpga -Xsboard=intel_s10sx_pac:pac_s10 -Xshardware -Xsprofile -fsycl-link=image main.cpp -o smc_fpga_dev.a)
- 儲存 您的 Makefile
- 再次編譯