cuda::experimental::places::locality_domain_backend_count#

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

Number of locality domains reported by the hardware backend.

Never 0: when the driver cannot answer the locality-domain query, the device reports a single domain and locality-domain places degrade to the whole device at runtime, exactly like the pre-13.4 fallback backend. The public locality_domain_count() below consults the CUDASTF_FAKE_LOCALITY_DOMAINS override first and only then falls back to this hardware path.