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

Change-Id: I52ce2530d12fbe47e575feb2aab39bbfdfebd201
Dieser Commit ist enthalten in:
Laurent Morichetti verfasst und Laurent Morichetti committed 2022-08-16 19:43:15 -04:00
1 Ursprung 113cc9ae2a
Commit a682934251
5 Dateien geändert
+8 -5

Keine Dateien entsprechen Ihrer Suche

+2 -1
Datei anzeigen
@@ -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;
}