StanfordLegion / legion

The Legion Parallel Programming System
https://legion.stanford.edu
Apache License 2.0
680 stars 145 forks source link

Realm: core->get_resource("cpu", ...) returns 0 on ARM #1783

Open manopapad opened 4 hours ago

manopapad commented 4 hours ago

Apparently cat /proc/cpuinfo has no physical id and cpu cores, which is what Realm checks.

Note that this works fine on Apple Silicon.

eddy16112 commented 3 hours ago

Should be fixed by https://gitlab.com/StanfordLegion/legion/-/merge_requests/1511. The reason it works on Mac is because it provides its own API sysctlbyname for querying resources.