SWDEV-351980 - Acquire the code object lock in StatCO::getStatFuncName
Change-Id: I52ce2530d12fbe47e575feb2aab39bbfdfebd201
[ROCm/clr commit: a682934251]
Этот коммит содержится в:
1 родитель
91a6c2da56
Коммит
2f467284bb
5 files changed
+8
-5
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user