mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Change-Id: I1e561b11e78dd942e04f3b029739921d0929ceed Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
24 lines
499 B
C++
24 lines
499 B
C++
/*
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "runtime/os_interface/windows/wddm_allocation.h"
|
|
|
|
namespace OCLRT {
|
|
|
|
class MockWddmAllocation : public WddmAllocation {
|
|
public:
|
|
MockWddmAllocation() : WddmAllocation(GraphicsAllocation::AllocationType::UNDECIDED, nullptr, 0, nullptr, MemoryPool::MemoryNull, false) {
|
|
}
|
|
|
|
void setMemoryPool(MemoryPool::Type pool) {
|
|
memoryPool = pool;
|
|
}
|
|
};
|
|
|
|
} // namespace OCLRT
|