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
{{ message }}
Repository navigation
Adding defines as _additional_ preprocessor definitions #234
I have a kernel where I tune a bunch of parameters, but need to insert some static values as well (think problem size etc.) as preprocessor definitions. I thought I'd be able to use the defines option for this, but using that means the tunable parameters are no longer inserted. It would be great if there'd be a way to insert both the tunable parameters and some more defines.
Currently I'm using single-value tunable parameters as a workaround, but it clutters the tuning output a bit.
Great! This should be documented better since currently its a bit hidden away in the API documentation between all the other keyword argument descriptions.
Activity
stijnh commentedon Dec 6, 2023
You should be able to use:
If I remember correctly, this should also work:
In which case, you can generate the dict automatically:
loostrum commentedon Dec 7, 2023
Thanks for the tip, that should solve my issue!
stijnh commentedon Dec 7, 2023
Great! This should be documented better since currently its a bit hidden away in the API documentation between all the other keyword argument descriptions.
benvanwerkhoven commentedon Dec 7, 2023
At least the API documentation is visible again! haha