mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 12:42:54 +08:00
refactor: remove not needed code
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
fff97d3958
commit
f71f6d2b72
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2023 Intel Corporation
|
||||
* Copyright (C) 2018-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -149,7 +149,6 @@ class Buffer : public MemObj {
|
||||
GraphicsAllocation *gfxAlloc,
|
||||
cl_mem_flags flags,
|
||||
cl_mem_flags_intel flagsIntel,
|
||||
bool useGlobalAtomics,
|
||||
bool areMultipleSubDevicesInContext);
|
||||
|
||||
static void provideCompressionHint(bool compressionEnabled, Context *context, Buffer *buffer);
|
||||
@@ -159,7 +158,7 @@ class Buffer : public MemObj {
|
||||
bool isValidSubBufferOffset(size_t offset);
|
||||
uint64_t setArgStateless(void *memory, uint32_t patchSize, uint32_t rootDeviceIndex, bool set32BitAddressing);
|
||||
virtual void setArgStateful(void *memory, bool forceNonAuxMode, bool disableL3, bool alignSizeForAuxTranslation,
|
||||
bool isReadOnly, const Device &device, bool useGlobalAtomics, bool areMultipleSubDevicesInContext) = 0;
|
||||
bool isReadOnly, const Device &device, bool areMultipleSubDevicesInContext) = 0;
|
||||
bool bufferRectPitchSet(const size_t *bufferOrigin,
|
||||
const size_t *region,
|
||||
size_t &bufferRowPitch,
|
||||
@@ -235,7 +234,7 @@ class BufferHw : public Buffer {
|
||||
zeroCopy, isHostPtrSVM, isObjectRedescribed) {}
|
||||
|
||||
void setArgStateful(void *memory, bool forceNonAuxMode, bool disableL3, bool alignSizeForAuxTranslation,
|
||||
bool isReadOnlyArgument, const Device &device, bool useGlobalAtomics, bool areMultipleSubDevicesInContext) override;
|
||||
bool isReadOnlyArgument, const Device &device, bool areMultipleSubDevicesInContext) override;
|
||||
|
||||
static Buffer *create(Context *context,
|
||||
const MemoryProperties &memoryProperties,
|
||||
|
||||
Reference in New Issue
Block a user