Any way to get the number of sub partitions per sm programtically?

It seems there is no such value in the cudaDeviceProp struct.
How could I get this value programtically?

A switch statement, testing the result of the “major” and “minor” property, using the partition information here, under “Number of SM Partitions”, maybe…

Well, it’s not a perfect solution but it works, thanks a lot.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.