diff --git a/projects/clr/hipamd/include/hip/hcc_detail/code_object_bundle.hpp b/projects/clr/hipamd/include/hip/hcc_detail/code_object_bundle.hpp index 609c96eca9..1d2d96795c 100644 --- a/projects/clr/hipamd/include/hip/hcc_detail/code_object_bundle.hpp +++ b/projects/clr/hipamd/include/hip/hcc_detail/code_object_bundle.hpp @@ -86,7 +86,7 @@ namespace hip_impl std::copy_n(it, sizeof(y.header.cbuf), y.header.cbuf); it += sizeof(y.header.cbuf); - y.triple.assign(it, it + y.triple_sz); + y.triple.assign(it, it + y.header.triple_sz); std::copy_n( f + y.header.offset,