mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 07:44:16 +08:00
* decouple program_info * move global allocations relocation to linker * remove obsolete tests * initial cleanup to kernel_info kernelInfo * unified patchtoken validation Change-Id: I0567cd6d607b4f3cf44e6caf33681f6210760f76
22 lines
338 B
C++
22 lines
338 B
C++
/*
|
|
* Copyright (C) 2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "core/program/program_info.h"
|
|
|
|
#include "runtime/program/kernel_info.h"
|
|
|
|
namespace NEO {
|
|
|
|
ProgramInfo::~ProgramInfo() {
|
|
for (auto &kernelInfo : kernelInfos) {
|
|
delete kernelInfo;
|
|
}
|
|
kernelInfos.clear();
|
|
}
|
|
|
|
} // namespace NEO
|