SWDEV-351980 - Acquire the code object lock in StatCO::getStatFuncName

Change-Id: I52ce2530d12fbe47e575feb2aab39bbfdfebd201
This commit is contained in:
Laurent Morichetti authored and Laurent Morichetti committed 2022-08-16 19:43:15 -04:00
1 parent 113cc9ae2a
commit a682934251
5 files changed
+8 -5

No files matched your search

+2 -1
View File
@@ -41,7 +41,8 @@ int hipGetStreamDeviceId(hipStream_t stream) {
return (s != nullptr)? s->DeviceId() : ihipGetDevice();
}
const char* hipKernelNameRefByPtr(const void* hostFunction, hipStream_t) {
const char* hipKernelNameRefByPtr(const void* hostFunction, hipStream_t stream) {
[](auto&&...){}(stream);
if (hostFunction == nullptr) {
return nullptr;
}