Searched refs:access_descriptors (Results 1 – 1 of 1) sorted by relevance
989 std::vector<CUmemAccessDesc> access_descriptors(device_handles.size()); in MapMemory() local990 for (int i = 0; i < access_descriptors.size(); ++i) { in MapMemory()991 access_descriptors[i].location.id = device_handles[i]; in MapMemory()992 access_descriptors[i].location.type = CU_MEM_LOCATION_TYPE_DEVICE; in MapMemory()993 access_descriptors[i].flags = CU_MEM_ACCESS_FLAGS_PROT_READWRITE; in MapMemory()996 res = cuMemSetAccess(va, handle.bytes, access_descriptors.data(), in MapMemory()997 access_descriptors.size()); in MapMemory()