Intel® oneAPI Data Parallel C++
Support for Intel® oneAPI DPC++ Compiler, Intel® oneAPI DPC++ Library, Intel ICX Compiler , Intel® DPC++ Compatibility Tool, and GDB*
583 Discussions

Runtime evaluation of maximum concurrency in DPC++

danielarndt
Beginner
925 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
907 Views

Hi,


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


Thanks,

Rahul


0 Kudos
danielarndt
Beginner
877 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