Sync v13.5-public from internal repo

This commit is contained in:
cuda-samples sync
2026-11-04 20:44:00 +00:00
parent 5443602d89
commit a9315c55fb
53 changed files with 1750 additions and 183 deletions

View File

@@ -51,7 +51,7 @@ int main()
if (!memoryPoolsSupported) {
std::cout << "Waiving execution as the device does not support memory pools." << std::endl;
return 0;
return 2;
}
// Device information
@@ -65,6 +65,11 @@ 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;
return 2;
}
// Construct localized green contexts and streams
std::vector<cudaExecutionContext_t> greenContexts(localityDomainCount);
std::vector<cudaStream_t> streams(localityDomainCount);