// Copyright Advanced Micro Devices, Inc., or its affiliates. // SPDX-License-Identifier: MIT #include #include #include #include #include namespace rocRoller { std::string AssemblyKernel::amdgpu_metadata_yaml() { AssemblyKernels tmp; tmp.kernels = {*this}; return Serialization::toYAML(tmp); } std::string AssemblyKernel::args_string() { return Serialization::toYAML(m_arguments); } AssemblyKernels AssemblyKernels::fromYAML(std::string const& str) { return Serialization::fromYAML(str); } AssemblyKernels AssemblyKernels::fromELF(std::string const& filename) { return Serialization::fromELFFile(filename); } }