mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
53 lines
768 B
C++
53 lines
768 B
C++
/*
|
|
* Copyright (C) 2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include <cstdint>
|
|
namespace NEO {
|
|
|
|
struct RegisterRead {
|
|
uint64_t offset;
|
|
uint64_t value;
|
|
};
|
|
|
|
struct ExecObject {
|
|
uint8_t data[56];
|
|
};
|
|
|
|
struct ExecBuffer {
|
|
uint8_t data[64];
|
|
};
|
|
|
|
struct GemCreate {
|
|
uint64_t size;
|
|
uint32_t handle;
|
|
};
|
|
|
|
struct GemUserPtr {
|
|
uint64_t userPtr;
|
|
uint64_t userSize;
|
|
uint32_t flags;
|
|
uint32_t handle;
|
|
};
|
|
|
|
struct GemSetTiling {
|
|
uint32_t handle;
|
|
uint32_t tilingMode;
|
|
uint32_t stride;
|
|
uint32_t swizzleMode;
|
|
};
|
|
|
|
struct GemGetTiling {
|
|
bool isTilingDisabled() const;
|
|
|
|
uint32_t handle;
|
|
uint32_t tilingMode;
|
|
uint32_t swizzleMode;
|
|
uint32_t physSwizzleMode;
|
|
};
|
|
} // namespace NEO
|