Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*
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.
803 Discussions

Runtime evaluation of maximum concurrency in DPC++

danielarndt
Beginner
1,547 Views

Is there any way to get the maximum number of concurrently active threads at runtime (or at least an upper limit)?

AFAICT, I can only ask for the maximum number of compute units and the maximum workgroup size. Is it safe to assume that there is not more than one workgroup active for every compute unit?

Labels (1)
0 Kudos
2 Replies
RahulV_intel
Moderator
1,529 Views

Hi,


We are working on your query and will get back to you at the earliest.


Thanks,

Rahul


0 Kudos
danielarndt
Beginner
1,499 Views

Calculating an upper limit of concurrent thread numbers at runtime would be good enough for me. How would I do that?
Basically, I am looking for something corresponding to cudaDevAttrMaxThreadsPerMultiProcessor.

0 Kudos
Reply