UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor alcatraz1372
Visitor
275 Views
Registered: ‎03-29-2019

opencl completion event for a pipelined kernel

Jump to solution

Hello everyone

 

I have a question about kernel launch and its completion event for a pipelined kernel.

Consider two versions of a kernel:

V1) is not pipelined and got latency=7 and II=8

V2) is pipelined and got latency=120 and II=2

 

Questions:

1. When does SDAccel and it's OpenCL backend consider kernel V2 finished in host code? after the latency period or after II period? The kernel is launched with the clEnqueueTask.

 

2. If the answer for question 1 is "after latency period", does it mean that using non-pipelined kernel V1 would be better in terms of kernel execution time because it has less latency?

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Xilinx Employee
Xilinx Employee
152 Views
Registered: ‎03-24-2010

回复: opencl completion event for a pipelined kernel

Jump to solution

1. The answer is "after latency period"

2. yes. 

In the next comming release, dataflow execution can be supported. It means that kernel execution can be overlapped by dataflow. FYI.

Besides, for a kernel, please consider not to deal with a small number of data, since there's overhead between kernel executions.

Regards,
brucey
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
1 Reply
Highlighted
Xilinx Employee
Xilinx Employee
153 Views
Registered: ‎03-24-2010

回复: opencl completion event for a pipelined kernel

Jump to solution

1. The answer is "after latency period"

2. yes. 

In the next comming release, dataflow execution can be supported. It means that kernel execution can be overlapped by dataflow. FYI.

Besides, for a kernel, please consider not to deal with a small number of data, since there's overhead between kernel executions.

Regards,
brucey
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------