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

Runtime evaluation of maximum concurrency in DPC++

danielarndt
Beginner
398 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
380 Views

Hi,


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


Thanks,

Rahul


danielarndt
Beginner
350 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.

Reply