This website requires JavaScript.
Explore
Help
Sign In
AI
/
rocm-systems
Watch
2
Star
0
Fork
0
You've already forked rocm-systems
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
76336d46b44be391decb9f4f19f9cfb9f659d39a
rocm-systems
/
projects
/
clr
/
hipamd
/
include
T
History
Alex Voicu
76336d46b4
Fix legacy mode detection of the address of an agent allocated variable. In this mode, there exist two executables per each code object, one created by HCC and one created by HIP. Since we dispatch through HCC in legacy mode, we should obtain the address for an agent allocated variable from the latter's executable. Also add two omitted validity checks, whose absence could lead to segfaults when the current process had no .kernel section and / or when an invalid or empty blob was extracted from the latter.
...
[ROCm/clr commit:
33bb425013
]
2017-11-30 03:29:04 +00:00
..
hip
Fix legacy mode detection of the address of an agent allocated variable. In this mode, there exist two executables per each code object, one created by HCC and one created by HIP. Since we dispatch through HCC in legacy mode, we should obtain the address for an agent allocated variable from the latter's executable. Also add two omitted validity checks, whose absence could lead to segfaults when the current process had no .kernel section and / or when an invalid or empty blob was extracted from the latter.
2017-11-30 03:29:04 +00:00