Open hcedwar opened 6 years ago
Querying an affinity metric should be between an execution resource and a memory resource. Querying an affinity metric between two execution resources would be transitive: "what is our affinity with the most-local memory resource we have in common."
The affinity metric should have also some qualifier attribute mechanisms, e.g. for some heterogeneous execution resources, the availability of global atomicsOps or cc property on "nearest common memory resource" may not be there.
Affinity has
affinity_query
between two execution resources. Recommend this be between an execution resource and a memory resource.