-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[jit] Add a utility class SourceRef to represent Source as keys #57396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Summary: A new type SourceRef is introduced to represent a unique identifier to source text. The type holds refcount to underlying source, and supports comparators and hash functions, such that it can be used in C++ and Python maps. In later diffs we will use this to aggregate and print profiling information. Test Plan: Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit cb58b6b (more details on the Dr. CI page):
This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions to the (internal) Dr. CI Users group. |
… keys" Summary: A new type SourceRef is introduced to represent a unique identifier to source text. The type holds refcount to underlying source, and supports comparators and hash functions, such that it can be used in C++ and Python maps. In later diffs we will use this to aggregate and print profiling information. Test Plan: Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
…esent Source as keys" Summary: A new type SourceRef is introduced to represent a unique identifier to source text. The type holds refcount to underlying source, and supports comparators and hash functions, such that it can be used in C++ and Python maps. In later diffs we will use this to aggregate and print profiling information. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D28133578](https://our.internmc.facebook.com/intern/diff/D28133578) [ghstack-poisoned]
|
@zhxchen17 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…eys" Summary: A new type SourceRef is introduced to represent a unique identifier to source text. The type holds refcount to underlying source, and supports comparators and hash functions, such that it can be used in C++ and Python maps. In later diffs we will use this to aggregate and print profiling information. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D28133578](https://our.internmc.facebook.com/intern/diff/D28133578) [ghstack-poisoned]
|
@zhxchen17 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
… keys" Summary: A new type SourceRef is introduced to represent a unique identifier to source text. The type holds refcount to underlying source, and supports comparators and hash functions, such that it can be used in C++ and Python maps. In later diffs we will use this to aggregate and print profiling information. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D28133578](https://our.internmc.facebook.com/intern/diff/D28133578) [ghstack-poisoned]
|
@zhxchen17 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
… keys" Summary: A new type SourceRef is introduced to represent a unique identifier to source text. The type holds refcount to underlying source, and supports comparators and hash functions, such that it can be used in C++ and Python maps. In later diffs we will use this to aggregate and print profiling information. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D28133578](https://our.internmc.facebook.com/intern/diff/D28133578) [ghstack-poisoned]
… keys" Summary: A new type SourceRef is introduced to represent a unique identifier to source text. The type holds refcount to underlying source, and supports comparators and hash functions, such that it can be used in C++ and Python maps. In later diffs we will use this to aggregate and print profiling information. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D28133578](https://our.internmc.facebook.com/intern/diff/D28133578) [ghstack-poisoned]
|
@zhxchen17 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
… keys" Summary: A new type SourceRef is introduced to represent a unique identifier to source text. The type holds refcount to underlying source, and supports comparators and hash functions, such that it can be used in C++ and Python maps. In later diffs we will use this to aggregate and print profiling information. Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D28133578](https://our.internmc.facebook.com/intern/diff/D28133578) [ghstack-poisoned]
|
@zhxchen17 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
|
This pull request has been merged in 3a3959d. |
Summary: A new type SourceRef is introduced to represent a unique identifier to source text. The type holds refcount to underlying source, and supports comparators and hash functions, such that it can be used in C++ and Python maps. In later diffs we will use this to aggregate and print profiling information. Test Plan: Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: b176621 Pull Request resolved: pytorch/pytorch#57396
Stack from ghstack:
Summary:
A new type SourceRef is introduced to represent a unique identifier to source
text. The type holds refcount to underlying source, and supports comparators
and hash functions, such that it can be used in C++ and Python maps. In later
diffs we will use this to aggregate and print profiling information.
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags:
Differential Revision: D28133578