mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Define GPGPU engines per gen
Change-Id: Ie0e565d11184c5355b5bf09f5b10a567deb5c106 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
84d35c8951
commit
06600f169b
@ -1,12 +1,12 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2018 Intel Corporation
|
||||
* Copyright (C) 2017-2019 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "runtime/api/cl_types.h"
|
||||
#include "CL/cl.h"
|
||||
#include "runtime/gen_common/aub_mapper.h"
|
||||
#include "runtime/gen_common/hw_cmds.h"
|
||||
#include "runtime/command_stream/linear_stream.h"
|
||||
@ -54,6 +54,7 @@ class HwHelper {
|
||||
uint32_t surfaceType,
|
||||
bool forceNonAuxMode) = 0;
|
||||
virtual size_t getScratchSpaceOffsetFor64bit() = 0;
|
||||
virtual const std::vector<EngineInstanceT> getGpgpuEngineInstances() const = 0;
|
||||
|
||||
protected:
|
||||
HwHelper() = default;
|
||||
@ -133,6 +134,8 @@ class HwHelperHw : public HwHelper {
|
||||
|
||||
size_t getScratchSpaceOffsetFor64bit() override;
|
||||
|
||||
const std::vector<EngineInstanceT> getGpgpuEngineInstances() const override;
|
||||
|
||||
protected:
|
||||
HwHelperHw() = default;
|
||||
};
|
||||
|
Reference in New Issue
Block a user