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

Change-Id: I52ce2530d12fbe47e575feb2aab39bbfdfebd201


[ROCm/clr commit: a682934251]
Этот коммит содержится в:
Laurent Morichetti authored and Laurent Morichetti committed 2022-08-16 19:43:15 -04:00
1 родитель 91a6c2da56
Коммит 2f467284bb
5 files changed
+8 -5

No files matched your search

+2 -1
Просмотреть файл
@@ -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;
}