Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
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.
17267 Discussions

Emulator: Emulators max number of simultaneous kernelthreads (4096) exceeded!

Altera_Forum
Honored Contributor II
1,937 Views

Hello, just started with AOCL, got this issue in emulation. 

 

While running a kernel, this error is returned using "checkError" function in the AOCLUtils. 

 

context callback: emulator: emulators max number of simultaneous kernelthreads (4096) exceeded! 

 

This continues for a couple iterations, and the program fails with  

 

host: acl_emulator.c:159: __acl_emulator_next_workspace_id: assertion `start!=__acl_emulator_workspace_enumerator && "emulator: to many workspaces active at the same time"' failed. 

 

I tried googling and searching on these forums to no avail, can anyone give me an idea of what issue this might be and how I could solve it? If anyone needs more information I will try my best to provide them. 

 

Thanks.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
1,051 Views

I changed the kernel from enqueueNDRange to enqueueTask and it seems to be working on emulation. 

 

I would still like to know why the initial run fails if anyone has an idea. Thanks.
0 Kudos
Altera_Forum
Honored Contributor II
1,051 Views

What is your local_size (threads per group)?

0 Kudos
Altera_Forum
Honored Contributor II
1,051 Views

800 at its largest IIRC, in that case, it was the same as the global ID.

0 Kudos
Reply