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
Certain flags (e.g., nvcc's -gencode) have behavior that cannot currently be
emulated by straightforward usage of argparse. Specifically, issues occur when:
- A default value is the only entry in a list when a flag is not specified; and
- The default value is removed from the list when a flag is specified.
Since argparse stores the default value in the list, extending the list does
not remove the default value.
As a workaround for our custom actions, this commit introduces a custom
"override" property that can be used alongside the "default" property.
Signed-off-by: John Pennycook <john.pennycook@intel.com>
0 commit comments