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.
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