mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Update aub_stream interface
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
3e19f39b8d
commit
489dd4dd03
@@ -15,6 +15,7 @@ struct AllocationParams {
|
||||
AllocationParams() = delete;
|
||||
AllocationParams(uint64_t gfxAddress, const void *memory, size_t size, uint32_t memoryBanks, int hint, size_t pageSize)
|
||||
: gfxAddress(gfxAddress), size(size), pageSize(pageSize), memoryBanks(memoryBanks), hint(hint), memory(memory) {
|
||||
additionalParams = {};
|
||||
}
|
||||
uint64_t gfxAddress = 0;
|
||||
size_t size = 0;
|
||||
@@ -24,7 +25,9 @@ struct AllocationParams {
|
||||
const void *memory = nullptr;
|
||||
|
||||
struct AdditionalParams {
|
||||
bool compressionEnabled = false;
|
||||
bool compressionEnabled :1;
|
||||
bool uncached : 1;
|
||||
bool padding : 6;
|
||||
} additionalParams;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user