Post v13.5 (#470)

This commit is contained in:
Dheemanth
2026-11-04 12:48:54 -08:00
committed by GitHub
parent 5443602d89
commit 0ec046d5e9
53 changed files with 1750 additions and 183 deletions

View File

@@ -62,6 +62,12 @@ int main()
std::cout << "SMs per locality domain: " << localityDomainSmCount << std::endl;
}
if (localityDomainCount == 0) {
std::cout << "Waiving execution as the device does not support locality domains." << std::endl;
cuCtxDestroy(context);
return 2;
}
// Construct localized green contexts and streams
std::vector<CUgreenCtx> greenContexts(localityDomainCount);
std::vector<CUstream> streams(localityDomainCount);