SWDEV-460948 - Remove dflock, since kernel arguments are part of command now.

Change-Id: I6b5a229307b41bd24ffa0bc172c64ad1154df474
Šī revīzija ir iekļauta:
kjayapra-amd authored and Karthik Jayaprakash committed 2024-07-22 16:02:01 -04:00
1 vecāks 6ae5d6896c
revīzija 9c03f85f46
1 file changed
+2 -1
+2 -1
Parādīt failu
@@ -371,7 +371,8 @@ hipError_t ihipModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX,
}
hip::DeviceFunc* function = hip::DeviceFunc::asFunction(f);
amd::Kernel* kernel = function->kernel();
amd::ScopedLock lock(function->dflock_);
amd::ScopedLock lock (DEBUG_HIP_KERNARG_COPY_OPT ? &function->dflock_ : nullptr);
hipError_t status = ihipLaunchKernel_validate(
f, globalWorkSizeX, globalWorkSizeY, globalWorkSizeZ, blockDimX, blockDimY, blockDimZ,