Due to a problem in the FPGA SDK for OpenCL™ 17.0 and earlier, DMA from the OpenCL BSP might get aborted when IOMMU is enabled in the host system. The reason behind the OpenCL BSP driver does not have complete support when IOMMU is enabled. The failure symptoms include hanging application followed by freezing host.
Hthe owever, symptoms may vary depending on the host system and operating system. The user should look for the following messages indicating DMA read/write faults in the kernel log (dmesg) dump when the application freezes.
DMAR: DRHD: handling fault status reg 3
DMAR: DMAR:[DMA Read] Request device [01:00.0] fault addr fbc4b6000
DMAR:[fault reason 06] PTE Read access is not set
Check if IOMMU is enabled in the host system's BIOS. If it is, then disable it.
Note that instructions for checking and disabling IOMMU varies with different operating systems.