Files
compute-runtime/runtime/program/heap_info.h

38 lines
661 B
C
Raw Normal View History

/*
* Copyright (C) 2017-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "patch_info.h"
#include <cstdint>
namespace OCLRT {
struct HeapInfo {
const SKernelBinaryHeaderCommon *pKernelHeader;
const void *pKernelHeap;
const void *pGsh;
const void *pDsh;
void *pSsh;
const void *pPatchList;
const void *pBlob;
size_t blobSize;
HeapInfo() {
pKernelHeader = nullptr;
pKernelHeap = nullptr;
pGsh = nullptr;
pDsh = nullptr;
pSsh = nullptr;
pPatchList = nullptr;
pBlob = nullptr;
blobSize = 0;
}
};
} // namespace OCLRT