mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 16:24:18 +08:00
Remove unused struct
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ec4d0dd0a6
commit
a91e41ec41
@@ -1405,25 +1405,6 @@ class PatchTokenFromBinaryTest : public ProgramSimpleFixture {
|
||||
};
|
||||
using PatchTokenTests = Test<PatchTokenFromBinaryTest>;
|
||||
|
||||
template <typename FamilyType>
|
||||
class CommandStreamReceiverMock : public UltCommandStreamReceiver<FamilyType> {
|
||||
using BaseClass = UltCommandStreamReceiver<FamilyType>;
|
||||
using BaseClass::BaseClass;
|
||||
|
||||
public:
|
||||
void makeResident(GraphicsAllocation &graphicsAllocation) override {
|
||||
residency[graphicsAllocation.getUnderlyingBuffer()] = graphicsAllocation.getUnderlyingBufferSize();
|
||||
CommandStreamReceiver::makeResident(graphicsAllocation);
|
||||
}
|
||||
|
||||
void makeNonResident(GraphicsAllocation &graphicsAllocation) override {
|
||||
residency.erase(graphicsAllocation.getUnderlyingBuffer());
|
||||
CommandStreamReceiver::makeNonResident(graphicsAllocation);
|
||||
}
|
||||
|
||||
std::map<const void *, size_t> residency;
|
||||
};
|
||||
|
||||
TEST_F(PatchTokenTests, WhenBuildingProgramThenGwsIsSet) {
|
||||
createProgramFromBinary(pContext, pContext->getDevices(), "kernel_data_param");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user