Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

opencl pipe question

Altera_Forum
Honored Contributor II
810 Views

I would like to use pipe to store the data produced from kernel 1 and use it in kernel 2. 

The NDRange setting in kernel 1 is 

WorkSize[3] = {56, 56, 96} 

WorkGroupSize[3] = {14, 14, 1} 

 

 

kernel 1 will produce 56*56*96 data and be used in kernel 2 

Each work group in kernel 1 produce 14*14*1 data. 

can it realized in opencl pipe? 

 

 

 

 

Thanks, 

Matt
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
73 Views

It certainly can. You should just pay extra attention to ordering of work-items and how data is written to and read from the channel. This is described in Section 1.6.4.3 of the Intel FPGA SDK for OpenCL Programming Guide.

Reply