summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/AMDGPUCodeObjectMetadata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/AMDGPUCodeObjectMetadata.cpp')
-rw-r--r--llvm/lib/Support/AMDGPUCodeObjectMetadata.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/AMDGPUCodeObjectMetadata.cpp b/llvm/lib/Support/AMDGPUCodeObjectMetadata.cpp
index 863093ab7de..1872a003058 100644
--- a/llvm/lib/Support/AMDGPUCodeObjectMetadata.cpp
+++ b/llvm/lib/Support/AMDGPUCodeObjectMetadata.cpp
@@ -96,6 +96,8 @@ struct MappingTraits<Kernel::Attrs::Metadata> {
MD.mWorkGroupSizeHint, std::vector<uint32_t>());
YIO.mapOptional(Kernel::Attrs::Key::VecTypeHint,
MD.mVecTypeHint, std::string());
+ YIO.mapOptional(Kernel::Attrs::Key::RuntimeHandle, MD.mRuntimeHandle,
+ std::string());
}
};
OpenPOWER on IntegriCloud