1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
/*
* Copyright (C) 2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "level_zero/experimental/source/graph/graph.h"
#include "level_zero/experimental/source/graph/graph_export.h"
#include "level_zero/ze_api.h"
#include <optional>
#include <sstream>
#include <string>
#include <string_view>
namespace L0 {
namespace GraphDumpHelper {
void addLaunchKernelAdditionalExtensionParameters(std::vector<std::pair<std::string, std::string>> ¶ms, const ze_base_desc_t *baseDesc) {
const auto stypeValue = std::to_string(static_cast<uint32_t>(baseDesc->stype));
params.emplace_back("extension.stype", stypeValue + " (not recognized)");
}
void addMemoryTransferAdditionalExtensionParameters(std::vector<std::pair<std::string, std::string>> ¶ms, const ze_base_desc_t *baseDesc) {
const auto stypeValue = std::to_string(static_cast<uint32_t>(baseDesc->stype));
params.emplace_back("extension.stype", stypeValue + " (not recognized)");
}
} // namespace GraphDumpHelper
} // namespace L0
|