mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
refactor: remove not needed code.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
18a7a5f6fa
commit
363aca782f
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2023 Intel Corporation
|
||||
* Copyright (C) 2018-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -11,26 +11,6 @@
|
||||
|
||||
#include "patch_g7.h"
|
||||
|
||||
TEST_F(KernelDataTest, givenPatchTokenAllocateStatelessEventPoolSurfaceWhenDecodeTokensThenTokenLocatedInPatchInfo) {
|
||||
iOpenCL::SPatchAllocateStatelessEventPoolSurface allocateStatelessEventPoolSurface;
|
||||
allocateStatelessEventPoolSurface.Token = PATCH_TOKEN_ALLOCATE_STATELESS_EVENT_POOL_SURFACE;
|
||||
allocateStatelessEventPoolSurface.Size = sizeof(SPatchAllocateStatelessEventPoolSurface);
|
||||
|
||||
allocateStatelessEventPoolSurface.DataParamSize = 7;
|
||||
allocateStatelessEventPoolSurface.DataParamOffset = 0xABC;
|
||||
allocateStatelessEventPoolSurface.SurfaceStateHeapOffset = 0xDEF;
|
||||
|
||||
pPatchList = &allocateStatelessEventPoolSurface;
|
||||
patchListSize = allocateStatelessEventPoolSurface.Size;
|
||||
|
||||
buildAndDecode();
|
||||
|
||||
const auto &eventPoolArg = pKernelInfo->kernelDescriptor.payloadMappings.implicitArgs.deviceSideEnqueueEventPoolSurfaceAddress;
|
||||
EXPECT_EQ_VAL(allocateStatelessEventPoolSurface.DataParamOffset, eventPoolArg.stateless);
|
||||
EXPECT_EQ_VAL(allocateStatelessEventPoolSurface.DataParamSize, eventPoolArg.pointerSize);
|
||||
EXPECT_EQ_VAL(allocateStatelessEventPoolSurface.SurfaceStateHeapOffset, eventPoolArg.bindful);
|
||||
}
|
||||
|
||||
TEST_F(KernelDataTest, givenDataParameterPreferredWorkgroupMultipleTokenWhenBinaryIsdecodedThenCorrectOffsetIsAssigned) {
|
||||
const uint32_t offset = 0x100;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user