diff --git a/level_zero/core/test/black_box_tests/zello_copy_only.cpp b/level_zero/core/test/black_box_tests/zello_copy_only.cpp index c09772d386..8d9cef6ceb 100644 --- a/level_zero/core/test/black_box_tests/zello_copy_only.cpp +++ b/level_zero/core/test/black_box_tests/zello_copy_only.cpp @@ -158,8 +158,6 @@ void testCopyBetweenHostMemAndDeviceMem(ze_context_handle_t &context, ze_device_ // Validate stack and xe deviceBuffers have the original data from hostBuffer validRet = (0 == memcmp(hostBuffer, stackBuffer, allocSize)); - //delete[] heapBuffer; - delete[] stackBuffer; SUCCESS_OR_TERMINATE(zeMemFree(context, hostBuffer)); SUCCESS_OR_TERMINATE(zeMemFree(context, deviceBuffer)); diff --git a/level_zero/core/test/black_box_tests/zello_copy_tracing.cpp b/level_zero/core/test/black_box_tests/zello_copy_tracing.cpp index 96ebb3cd87..434532e63f 100644 --- a/level_zero/core/test/black_box_tests/zello_copy_tracing.cpp +++ b/level_zero/core/test/black_box_tests/zello_copy_tracing.cpp @@ -498,7 +498,6 @@ void testAppendMemoryCopy1(ze_context_handle_t &context, ze_device_handle_t &dev // Validate stack and xe buffers have the original data from hostBuffer validRet = (0 == memcmp(hostBuffer, stackBuffer, allocSize)); - //delete[] heapBuffer; SUCCESS_OR_TERMINATE(memDdiTable.pfnFree(context, hostBuffer)); SUCCESS_OR_TERMINATE(memDdiTable.pfnFree(context, zeBuffer)); SUCCESS_OR_TERMINATE(cmdListDdiTable.pfnDestroy(cmdList)); diff --git a/level_zero/core/test/black_box_tests/zello_ipc_p2p_with_ipc_event.cpp b/level_zero/core/test/black_box_tests/zello_ipc_p2p_with_ipc_event.cpp index 697ee09d6b..cfd8e35421 100644 --- a/level_zero/core/test/black_box_tests/zello_ipc_p2p_with_ipc_event.cpp +++ b/level_zero/core/test/black_box_tests/zello_ipc_p2p_with_ipc_event.cpp @@ -332,7 +332,6 @@ void runServer(int commSocket, bool &validRet) { // Copy from device-allocated memory SUCCESS_OR_TERMINATE(zeCommandListAppendMemoryCopy(cmdList, validateBuffer, zeBuffer, allocSize, nullptr, 1, &events[0])); - //nullptr, 0, nullptr)); SUCCESS_OR_TERMINATE(zeCommandListClose(cmdList)); SUCCESS_OR_TERMINATE(zeCommandQueueExecuteCommandLists(cmdQueue, 1, &cmdList, nullptr)); diff --git a/opencl/test/unit_test/command_queue/enqueue_copy_image_tests.cpp b/opencl/test/unit_test/command_queue/enqueue_copy_image_tests.cpp index d4189b3573..d855f9b1cd 100644 --- a/opencl/test/unit_test/command_queue/enqueue_copy_image_tests.cpp +++ b/opencl/test/unit_test/command_queue/enqueue_copy_image_tests.cpp @@ -54,9 +54,6 @@ HWCMDTEST_F(IGFX_GEN8_CORE, EnqueueCopyImageTest, WhenCopyingImageThenGpgpuWalke lanesPerThreadX += laneMaskRight & 1; laneMaskRight >>= 1; } - - //auto numWorkItems = ( ( cmd->getThreadWidthCounterMaximum() - 1 ) * simd + lanesPerThreadX ) * cmd->getThreadGroupIdXDimension(); - //EXPECT_EQ( expectedWorkItems, numWorkItems ); } HWTEST_F(EnqueueCopyImageTest, WhenCopyingImageThenTaskCountIsAlignedWithCsr) { diff --git a/opencl/test/unit_test/sharings/va/va_base_object_tests.cpp b/opencl/test/unit_test/sharings/va/va_base_object_tests.cpp index c316ec7cff..2e15145f91 100644 --- a/opencl/test/unit_test/sharings/va/va_base_object_tests.cpp +++ b/opencl/test/unit_test/sharings/va/va_base_object_tests.cpp @@ -28,11 +28,6 @@ struct VABaseObjectTests : public ::testing::Test { typedef ::testing::Types< MockPlatform, IntelAccelerator, - //Context, - //Program, - //Kernel, - //Sampler - //others... MockCommandQueue> BaseObjectTypes; diff --git a/shared/test/common/fixtures/memory_management_fixture.cpp b/shared/test/common/fixtures/memory_management_fixture.cpp index 803df4c14d..d70070dcfb 100644 --- a/shared/test/common/fixtures/memory_management_fixture.cpp +++ b/shared/test/common/fixtures/memory_management_fixture.cpp @@ -123,7 +123,6 @@ void MemoryManagementFixture::checkForLeaks() { auto testInfo = ::testing::UnitTest::GetInstance()->current_test_info(); auto testResult = testInfo->result(); if (testResult->Passed()) { - //EXPECT_EQ(previousAllocations, currentAllocations); size_t leakEventIndex; do { leakEventIndex = MemoryManagement::enumerateLeak(indexAllocationTop, indexDellocationTop, false, false); diff --git a/shared/test/unit_test/device_binary_format/patchtokens_validator_tests.cpp b/shared/test/unit_test/device_binary_format/patchtokens_validator_tests.cpp index cfabf88ffb..f52c398b14 100644 --- a/shared/test/unit_test/device_binary_format/patchtokens_validator_tests.cpp +++ b/shared/test/unit_test/device_binary_format/patchtokens_validator_tests.cpp @@ -342,7 +342,6 @@ TEST(PatchtokensValidator, GivenValidProgramWithKernelUsingSlmThenValidationSucc PatchTokensTestData::ValidProgramWithKernelUsingSlm prog; std::string error, warning; - //size_t slmSizeAvailable = 1 + prog.kernels[0].tokens.allocateLocalSurface->TotalInlineLocalMemorySize; EXPECT_EQ(NEO::DecodeError::Success, NEO::PatchTokenBinary::validate(prog, error, warning)); EXPECT_TRUE(error.empty()); EXPECT_TRUE(warning.empty());