P4 to Git Change 1860087 by kjayapra@0_HIPWS_TRT2_ROCM on 2019/06/18 11:29:14
SWDEV-144570 - Adding entries on to P2P Access devices in RocM, to create deviceMemories_ for P2P devices too. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#129 edit
This commit is contained in:
@@ -576,6 +576,7 @@ bool Device::init() {
|
||||
if (agent.handle == static_cast<Device*>(device2)->getBackendDevice().handle) {
|
||||
// Device2 can have access to device1
|
||||
device2->p2pDevices_.push_back(as_cl(device1));
|
||||
device1->p2p_access_devices_.push_back(device2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Referens i nytt ärende
Block a user