SWDEV-276210 - Honor scopes for hipEventRecord
Honor hipEventReleaseToDevice and hipEventReleaseToSystem flags. hipEventRecord would flush caches if no release flags are provided. To change this behavior set ROC_EVENT_NO_FLUSH=1 Change-Id: I03e41b515b1d0cf963b0c2d5b9901b09e71a0e59
This commit is contained in:
@@ -130,7 +130,7 @@ hipError_t IPCEvent::streamWait(hipStream_t stream, uint flags) {
|
||||
return hipSuccess;
|
||||
}
|
||||
|
||||
hipError_t IPCEvent::recordCommand(amd::Command*& command, amd::HostQueue* queue) {
|
||||
hipError_t IPCEvent::recordCommand(amd::Command*& command, amd::HostQueue* queue, uint32_t flags) {
|
||||
bool recorded = isRecorded();
|
||||
if (!recorded) {
|
||||
command = new amd::Marker(*queue, kMarkerDisableFlush);
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user