Intel® FPGA SDK for OpenCL™ Standard Edition: Custom Platform Toolkit User Guide

ID 683398
Date 9/24/2018
Public
Document Table of Contents

1.4.3.1. Kernel Power-up State

The OpenCL™ kernel is an unknown state after you power-up your system or reprogram your FPGA. As a result, the MMD layer does not enable or respond to any interrupts from the kernel during these periods. The kernel is in a known state only after aocl_mmd_set_interrupt_handler is called. Therefore, enable interrupts from the kernel only after the handler becomes available to the MMD layer.

The general sequence of calls for a single host application is as follows:

  1. get_offline_info
  2. open
  3. get_info
  4. set_status_handler
  5. set_interrupt_handler
  6. get_info /read/write/copy/yield
  7. close