SWDEV-351966 - Dispatch table for hip runtime

Change-Id: Ie4a44fa8cf1ff9c152146070bbbf6b0636d4e325


[ROCm/clr commit: 5e21f0c6bd]
This commit is contained in:
Anusha GodavarthySurya authored and Anusha Godavarthy Surya committed 2023-11-22 01:11:19 -05:00
1 parent cea00f53fb
commit 3bdedf0cc7
37 files changed
+4496 -192

No files matched your search

+2 -3
View File
@@ -24,9 +24,9 @@
#include "thread/monitor.hpp"
#include "hip_prof_api.h"
namespace hip {
static amd::Monitor streamSetLock{"Guards global stream set"};
static std::unordered_set<hip::Stream*> streamSet;
namespace hip {
// ================================================================================================
Stream::Stream(hip::Device* dev, Priority p, unsigned int f, bool null_stream,
@@ -194,8 +194,6 @@ bool Stream::existsActiveStreamForDevice(hip::Device* device) {
return false;
}
};// hip namespace
// ================================================================================================
void iHipWaitActiveStreams(hip::Stream* blocking_stream, bool wait_null_stream) {
amd::Command::EventWaitList eventWaitList(0);
@@ -864,3 +862,4 @@ hipError_t hipStreamGetDevice(hipStream_t stream, hipDevice_t* device) {
HIP_RETURN(hipSuccess);
}
} // hip namespace