Files
compute-runtime/shared/test/common/mocks/linux/mock_drm_wrappers.h
Mateusz Jablonski 268393d776 Create wrapper for drm_i915_gem_exec_object2
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-12 13:14:27 +02:00

23 lines
468 B
C++

/*
* Copyright (C) 2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/source/os_interface/linux/ioctl_helper.h"
namespace NEO {
struct MockExecObject : ExecObject {
uint32_t getHandle() const;
uint64_t getOffset() const;
bool has48BAddressSupportFlag() const;
bool hasCaptureFlag() const;
bool hasAsyncFlag() const;
};
static_assert(sizeof(MockExecObject) == sizeof(ExecObject));
} // namespace NEO