Remove commented code

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-11-15 12:17:40 +00:00
committed by Compute-Runtime-Automation
parent 6541f283c7
commit 5f8cc9b99b
7 changed files with 0 additions and 14 deletions

View File

@ -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));

View File

@ -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));

View File

@ -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));

View File

@ -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) {

View File

@ -28,11 +28,6 @@ struct VABaseObjectTests : public ::testing::Test {
typedef ::testing::Types<
MockPlatform,
IntelAccelerator,
//Context,
//Program,
//Kernel,
//Sampler
//others...
MockCommandQueue>
BaseObjectTypes;

View File

@ -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);

View File

@ -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());