Application Acceleration With FPGAs
Programmable Acceleration Cards (PACs), DCP, FPGA AI Suite, Software Stack, and Reference Designs
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
504 Discussions

Hi All, I'm launching 4 kernels with 4 different command queues. For a single thread, it is consuming close to ~250,micro sec.

MFaiz
Beginner
1,749 Views

When I enable multithreading, clenqueueTask time increases to 1250 micro secs.

Before launching the kernel i'm printing the status of all the events. All are printing 0 means COMPLETED (it means nothing is pending in commandQueue). I'm not understanding why enqueueTask is consuming more time when I enable threading even if there is no pending commands in command queue.

 

NOTE: processing() function where ClEnqueueTask is present is always executed by single thread (multi-threading is disabled for this function). 

 

Thanks in advance

0 Kudos
0 Replies
Reply