mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Move GMM-OCL types conversions to new helper + includes cleanup
Change-Id: I13e5917a32a5cd894ee42a848407fe20bf1daa06 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
6847893e02
commit
ec21f06427
@@ -10,7 +10,6 @@
|
||||
#include "core/helpers/hw_cmds.h"
|
||||
#include "runtime/execution_environment/execution_environment.h"
|
||||
#include "runtime/gmm_helper/gmm.h"
|
||||
#include "runtime/gmm_helper/gmm_helper.h"
|
||||
#include "runtime/gmm_helper/resource_info.h"
|
||||
#include "runtime/helpers/surface_formats.h"
|
||||
#include "runtime/mem_obj/buffer.h"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "runtime/context/context.h"
|
||||
#include "runtime/device/device.h"
|
||||
#include "runtime/gmm_helper/gmm.h"
|
||||
#include "runtime/gmm_helper/gmm_helper.h"
|
||||
#include "runtime/gmm_helper/gmm_types_converter.h"
|
||||
#include "runtime/gmm_helper/resource_info.h"
|
||||
#include "runtime/helpers/get_info.h"
|
||||
#include "runtime/helpers/memory_properties_flags_helpers.h"
|
||||
@@ -240,7 +240,7 @@ Image *Image::create(Context *context,
|
||||
hostPtr = parentBuffer->getHostPtr();
|
||||
hostPtrToSet = const_cast<void *>(hostPtr);
|
||||
parentBuffer->incRefInternal();
|
||||
GmmHelper::queryImgFromBufferParams(imgInfo, memory);
|
||||
GmmTypesConverter::queryImgFromBufferParams(imgInfo, memory);
|
||||
|
||||
UNRECOVERABLE_IF(imgInfo.offset != 0);
|
||||
imgInfo.offset = parentBuffer->getOffset();
|
||||
|
||||
Reference in New Issue
Block a user