ROCR-Runtime icon indicating copy to clipboard operation
ROCR-Runtime copied to clipboard

Unitialised Segment objects: defect or feature

Open v01dXYZ opened this issue 2 years ago • 1 comments

This code appends new segments to the elf image. But those segments need to be initialised using pull. Does the intent of the code is to do that ? If it is, that's not what it does, as the vector is likely not empty at this stage.

https://github.com/RadeonOpenCompute/ROCR-Runtime/blob/45e6039881b606bc04fedbfed41f9e9ef21d43cf/src/libamdhsacode/amd_elf_image.cpp#L1444-L1445

v01dXYZ avatar May 15 '22 07:05 v01dXYZ