refactor: remove comment

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
Dominik Dabek
2024-04-08 10:54:18 +00:00
committed by Compute-Runtime-Automation
parent 1627172e28
commit 0d69dfe165

View File

@@ -5008,9 +5008,6 @@ cl_int CL_API_CALL clSetKernelArgSVMPointer(cl_kernel kernel,
const auto allocationsCounter = svmManager->allocationsCounter.load();
if (allocationsCounter > 0) {
if (allocationsCounter == multiDeviceKernel->getKernelArguments()[argIndex].allocIdMemoryManagerCounter) {
// manager count is not being incremented when allocation is from pool
// 1) add check for allocation from pool
// 2) increment when allocation is from pool
reuseFromCache = true;
} else {
const auto svmData = svmManager->getSVMAlloc(argValue);