SWDEV-430437,SWDEV-434702 - Split the streamset per device

Change-Id: If1bcca45825c9899462bb95ed6f637f5af806cc8
Αυτή η υποβολή περιλαμβάνεται σε:
Ioannis Assiouras
2024-02-06 00:34:35 +00:00
γονέας 1239309c90
υποβολή be2bdabb76
6 αρχεία άλλαξαν με 175 προσθήκες και 144 διαγραφές
@@ -610,7 +610,7 @@ hipError_t hipDeviceSetSharedMemConfig(hipSharedMemConfig config) {
hipError_t hipDeviceSynchronize() {
HIP_INIT_API(hipDeviceSynchronize);
constexpr bool kDoWaitForCpu = true;
hip::Stream::SyncAllStreams(hip::getCurrentDevice()->deviceId(), kDoWaitForCpu);
hip::getCurrentDevice()->SyncAllStreams(kDoWaitForCpu);
HIP_RETURN(hipSuccess);
}