mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
Remove commented code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
6541f283c7
commit
5f8cc9b99b
@ -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));
|
||||
|
@ -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));
|
||||
|
@ -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));
|
||||
|
@ -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) {
|
||||
|
@ -28,11 +28,6 @@ struct VABaseObjectTests : public ::testing::Test {
|
||||
typedef ::testing::Types<
|
||||
MockPlatform,
|
||||
IntelAccelerator,
|
||||
//Context,
|
||||
//Program,
|
||||
//Kernel,
|
||||
//Sampler
|
||||
//others...
|
||||
MockCommandQueue>
|
||||
BaseObjectTypes;
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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());
|
||||
|
Reference in New Issue
Block a user