You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would be useful if, like e.g. git, we could support a user querying how to use a particular transformation. For this to be useful, we'd need to somehow combine the docstrings of the class itself and those classes from which it inherits. e.g. OMPParallelLoopTrans inherits from ParallelLoopTrans and it is that class that has the "ignore_dependencies_for" option. I don't know how we'd do that.
Ooh, pydoc is nice, I didn't know about that. I was just struck (while working on my slides) by how hard it can be to work out what options there are to a Transformation. I think it would be valuable if we could make this easier.
To be clear, I do not disagree with a psyclone help interface, just that the info should be what is already in the docstrings so people using other tools: pydoc, lsp, ... also see the full information.
Another aspect that I find that is not very discoverable is the available transformations. At some point we could recover the transformation listing functionality that is now broken. And would be convenient to have a command flag or part of this help command that could list them.
Another aspect that I find that is not very discoverable is the available transformations. At some point we could recover the transformation listing functionality that is now broken. And would be convenient to have a command flag or part of this help command that could list them.
Yes, that is really difficult, esp. atm where transformations are in different paths (hopefully that will solve itself over time). Somewhat related (see #1153 (comment)): how to know if there is a domain-specific transformation to use, or just the generic one.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I think it would be useful if, like e.g. git, we could support a user querying how to use a particular transformation. For this to be useful, we'd need to somehow combine the docstrings of the class itself and those classes from which it inherits. e.g. OMPParallelLoopTrans inherits from ParallelLoopTrans and it is that class that has the "ignore_dependencies_for" option. I don't know how we'd do that.
All reactions