Article ID: 000086399 Content Type: Error Messages Last Reviewed: 11/16/2024

Error message : "Error: Optimizer FAILED -dbg-info-enabled --grif --soft-elementary-math=false --fas=false --wiicm-disable=true "kernel_top.1.bc" -o "kernel_top.kwgid.bc"

Environment

    Intel® Quartus® Prime Pro Edition
    Intel® FPGA SDK for OpenCL™ Pro Edition
BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

Due to a problem with the FPGA SDK for OpenCL™ software technology, you may see this error after a long compilation time. This is caused by a large number of storage operations to undefined elements performed by the h_updating_graph_mask_buf_0 and h_graph_visited_buf_0 arrays functions.

Resolution

To fix this problem add the following lines in the kernel_top.cl file:

***************
*** 22,30 ****
    
  #pragma ACCEL interface
variable=k depth=1
    bool stop;
    do {
-     bool h_updating_graph_mask_buf_0[1000000];
-     bool h_graph_visited_buf_0[1000000];
  //if no thread
changes this value then the loop stops
      stop =
false;
  //omp_set_num_threads(num_omp_threads);
--- 22,30 ----
    
  #pragma ACCEL interface
variable=k depth=1
    bool stop;
  bool
h_updating_graph_mask_buf_0[1000000];
  bool
h_graph_visited_buf_0[1000000];
    do {
  //if no thread
changes this value then the loop stops
      stop =
false;
  //omp_set_num_threads(num_omp_threads);

This problem will be fixed in a future release of the Intel FPGA SDK for OpenCL

Related Products

This article applies to 1 products

Intel® Programmable Devices

1