Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHiLL Unroll error #5

Open
axelyamel opened this issue Jun 11, 2014 · 0 comments
Open

CHiLL Unroll error #5

axelyamel opened this issue Jun 11, 2014 · 0 comments
Labels

Comments

@axelyamel
Copy link
Collaborator

When the user defines a performance_param and use it with the unroll statement on the CHiLL module, make sure there is no space between the coma and variable:

Example:

def performance_param {
param UF0 [] = [1,2];
}

/*@ begin CHiLL (

  unroll(0,"k", UF0)     <- if a space is added before UF0 cause the following error:

ERROR: failed during evaluation of coordinate: [0, 0, 0]={'UF1': 1, 'UF2': 1, 'UF': 1}
IndexError list index out of range
ERROR: failed during evaluation of coordinate: [1, 0, 0]={'UF1': 1, 'UF2': 1, 'UF': 2}
IndexError list index out of range
ERROR: failed during evaluation of coordinate: [0, 1, 0]={'UF1': 2, 'UF2': 1, 'UF': 1}
IndexError list index out of range
ERROR: failed during evaluation of coordinate: [1, 1, 0]={'UF1': 2, 'UF2': 1, 'UF': 2}
IndexError list index out of range
ERROR: failed during evaluation of coordinate: [0, 0, 1]={'UF1': 1, 'UF2': 2, 'UF': 1}
IndexError list index out of range
ERROR: failed during evaluation of coordinate: [1, 0, 1]={'UF1': 1, 'UF2': 2, 'UF': 2}
IndexError list index out of range
ERROR: failed during evaluation of coordinate: [0, 1, 1]={'UF1': 2, 'UF2': 2, 'UF': 1}
IndexError list index out of range
ERROR: failed during evaluation of coordinate: [1, 1, 1]={'UF1': 2, 'UF2': 2, 'UF': 2}
IndexError list index out of range
ERROR: the search cannot find a valid set of performance parameters. the search time limit might be too short, or the performance parameter constraints might prune out the entire search space.

Temporary fix:

Don't add space: unroll(0,"k",UF0)

@axelyamel axelyamel added the bug label Jun 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant