cuda::experimental::places::locality_domain_fake_get_count#

inline unsigned int cuda::experimental::places::locality_domain_fake_get_count(
int dev_id
)#

Fake domain count for a device: exactly the requested N, strictly.

The override is strict: when the even split cannot produce the requested number of groups (SM budget or group granularity), this throws instead of silently reporting fewer domains, which would be misleading for an explicitly requested topology. An even split can emit extra groups (e.g. a remainder); callers still see exactly N.