mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-12 00:59:38 +08:00
43 lines
1.3 KiB
C++
43 lines
1.3 KiB
C++
/*
|
|
* Copyright (C) 2019-2025 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/aub_mem_dump/aub_alloc_dump.inl"
|
|
#include "shared/source/aub_mem_dump/aub_mem_dump.h"
|
|
#include "shared/source/gen12lp/aub_mapper.h"
|
|
#include "shared/source/gen12lp/hw_cmds_base.h"
|
|
#include "shared/source/gen_common/reg_configs_common.h"
|
|
#include "shared/source/helpers/completion_stamp.h"
|
|
#include "shared/source/helpers/gfx_core_helper.h"
|
|
|
|
#include "config.h"
|
|
|
|
namespace NEO {
|
|
using Family = Gen12LpFamily;
|
|
|
|
static const AubMemDump::LrcaHelperRcs rcs(0x002000);
|
|
static const AubMemDump::LrcaHelperBcs bcs(0x022000);
|
|
static const AubMemDump::LrcaHelperVcs vcs(0x1c0000);
|
|
static const AubMemDump::LrcaHelperVecs vecs(0x1c8000);
|
|
static const AubMemDump::LrcaHelperCcs ccs(0x1a000);
|
|
|
|
const AubMemDump::LrcaHelper *const AUBFamilyMapper<Family>::csTraits[aub_stream::NUM_ENGINES] = {
|
|
&rcs,
|
|
&bcs,
|
|
&vcs,
|
|
&vecs,
|
|
&ccs};
|
|
|
|
} // namespace NEO
|
|
|
|
namespace AubAllocDump {
|
|
using namespace NEO;
|
|
|
|
template SurfaceInfo *getDumpSurfaceInfo<Family>(GraphicsAllocation &gfxAllocation, const GmmHelper &gmmHelper, DumpFormat dumpFormat);
|
|
|
|
template uint32_t getImageSurfaceTypeFromGmmResourceType<Family>(GMM_RESOURCE_TYPE gmmResourceType);
|
|
} // namespace AubAllocDump
|