You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Galois gets info about hardware topology from /proc/cpuinfo. To intercept those calls fully we need to interpose on file IO. There are several related functions in libc to override and (IIRC, from discussion with @hfingler) C++ potentially has its own routines with their own syscalls, so we may need to shim those as well. The key idea is to have the ability to fake /proc/cpuinfo (and any other similar files?) to increase the robustness of the VEC virtual layer.
The text was updated successfully, but these errors were encountered:
Worth noting: if my theory about the context library not overriding glibc symbols in #68 is correct that bug will hold this up. Fortunately it's fixable.
That's what's happening at this moment. This feature is implemented on my branch but not all VECs have their open overrode. This way the first VEC gets the fake cpuinfo, the rest don't.
Currently Galois gets info about hardware topology from
/proc/cpuinfo
. To intercept those calls fully we need to interpose on file IO. There are several related functions in libc to override and (IIRC, from discussion with @hfingler) C++ potentially has its own routines with their own syscalls, so we may need to shim those as well. The key idea is to have the ability to fake/proc/cpuinfo
(and any other similar files?) to increase the robustness of the VEC virtual layer.The text was updated successfully, but these errors were encountered: