Skip to content

Commit

Permalink
[Media common] Remove legacy CMRT ULT overflow case
Browse files Browse the repository at this point in the history
  • Loading branch information
stellawuintel authored and intel-mediadev committed Sep 6, 2023
1 parent 5cdd94b commit b099627
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions media_driver/agnostic/ult/cm/kernel_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -454,17 +454,6 @@ TEST_F(KernelTest, LoadDestroyProgram)
{ return SelectLoadDestroyProgram(&m_isaArray); });

SetDefaultIsaArraySizes();
for_each(m_isaArray.begin(), m_isaArray.end(),
[](IsaData &isa_data) { --isa_data.size; });
RunEach<int32_t>(CM_SUCCESS,
[this]()
{ return SelectLoadDestroyProgram(&m_isaArray); });

for_each(m_isaArray.begin(), m_isaArray.end(),
[](IsaData &isa_data) { ++isa_data.size; }); // Correct sizes.
RunEach<int32_t>(CM_SUCCESS,
[this]()
{ return SelectLoadDestroyProgram(&m_isaArray); });

char options[CM_MAX_OPTION_SIZE_IN_BYTE + 1];
for (int i = 0; i < CM_MAX_OPTION_SIZE_IN_BYTE; ++i)
Expand Down

0 comments on commit b099627

Please sign in to comment.