mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
refactor: remove comment
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
1627172e28
commit
0d69dfe165
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user