-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate the domain, and abstract access to the domain.
On Neuron, create the domain in the endpoint structure. On P-series, keep it in the device structure. This is because, on Neuron, we lock when accessing the domain, so retaining separate domains per thread and per endpoint reduces contention Create an accessor method, get_domain(), that abstractly accesses the endpoint by protocol and architecture. Signed-off-by: Ryan Hankins <rqh@amazon.com>
- Loading branch information
1 parent
2adb8f5
commit 5cd487c
Showing
3 changed files
with
97 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters