--Update README.md for cuda 10.1 release

-- fix multidevice CG sample to check for concurrentManagedAccess as it needs systemwide atomics
This commit is contained in:
Mahesh Doijade
2019-01-23 16:56:20 +05:30
parent b458dafcd6
commit 1abc294982
2 changed files with 29 additions and 15 deletions

View File

@@ -415,7 +415,7 @@ void getIdenticalGPUs(int num_of_gpus, std::set<int> &identicalGPUs) {
identicalGPUs.erase(it);
}
if (!deviceProp.cooperativeMultiDeviceLaunch ||
!deviceProp.managedMemory) {
!deviceProp.concurrentManagedAccess) {
identicalGPUs.erase(it);
}
it++;
@@ -450,7 +450,7 @@ int main(int argc, char **argv) {
if (identicalGPUs.size() <= 1) {
printf(
"No Two or more GPUs with same architecture capable of "
"cooperativeMultiDeviceLaunch & managedMemory found. \nWaiving the sample\n");
"cooperativeMultiDeviceLaunch & concurrentManagedAccess found. \nWaiving the sample\n");
exit(EXIT_WAIVED);
}