codeplaysoftware / standards-proposals

Repository for publicly sharing proposals in various standards groups
Apache License 2.0
27 stars 17 forks source link

CP013: Affinity between execution and memory resource #42

Open hcedwar opened 6 years ago

hcedwar commented 6 years ago

Affinity has affinity_query between two execution resources. Recommend this be between an execution resource and a memory resource.

hcedwar commented 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."

pblinzer commented 6 years ago

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.