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*
696 Discussions

Runtime evaluation of maximum concurrency in DPC++

danielarndt
Beginner
1,301 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,283 Views

Hi,


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


Thanks,

Rahul


0 Kudos
danielarndt
Beginner
1,253 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