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
In particular, the createProgramDetails method inserts the name and location of the processor, but excludes any additional annotation appended to the main processor.
Thus, (to my knowledge) there isn't a way to retrieve a list of user annotations added to the main processor. So if I had main processor annotations like the following, there would be no way to retrieve the width and height values.
This feature request proposes that additional annotations added to the main processor be included in the program details. There are various ways to achieve this; one is the refactor below.
I'm assuming there isn't a way I'm unaware of to retrieve these annotations. If this is a change you're amenable to but it'd be low on your priority list, I'd be happy to work on a pull request if we can agree on a design. Let me know what you think.
The text was updated successfully, but these errors were encountered:
Currently
Engine::getProgramDetails
returns json with the following structure.In particular, the
createProgramDetails
method inserts the name and location of the processor, but excludes any additional annotation appended to the main processor.cmajor/modules/compiler/src/backends/cmaj_EngineBase.h
Lines 121 to 130 in 722cba9
Thus, (to my knowledge) there isn't a way to retrieve a list of user annotations added to the main processor. So if I had main processor annotations like the following, there would be no way to retrieve the
width
andheight
values.This feature request proposes that additional annotations added to the main processor be included in the program details. There are various ways to achieve this; one is the refactor below.
Another would be
I'm assuming there isn't a way I'm unaware of to retrieve these annotations. If this is a change you're amenable to but it'd be low on your priority list, I'd be happy to work on a pull request if we can agree on a design. Let me know what you think.
The text was updated successfully, but these errors were encountered: