Exposing the cached analysis data to the caller application (e.g., MIGraphX) #1481
Unanswered
ravil-mobile
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
After a very productive conversation with @krzysz00, we came to a conclusion that it might be a good idea to to expose some cached data to MIGraphX. For example, results of some analyses (right now, there is only one but we can expect more in the future) can be re-used - e.g., a test regarding
Fusion Legality
.Regarding MIGraphX, the cache data are supposed to be an opaque data structure and are supposed to be queried after an MLIR module creation. Some CAPIs need to be augmented with an extra parameter in a form of a
void
pointer which is supposed to point to the cached data held by MIGraphX. On rocMLIR side, we can cast the pointer to an appropriate data type and retrieve all necessary data.What do you think? If you like the idea then my next question would be: how are we going to proceed?
Beta Was this translation helpful? Give feedback.
All reactions