-
Notifications
You must be signed in to change notification settings - Fork 89
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
Errors in registration of functions using new interface #3893
Comments
I was able to get this version to work:
|
Here's the chapel docs on user defined Reduce Intents: |
I know you're goal isn't to find the best work around, but this also works:
|
I think this is closer to what you were actually hoping for. Using
The down side is that it generates a lot of extra functions in Commands.chpl file. |
Describe the bug
See my Draft PR # 3892. The functions cumsum and cumprod (in EfuncMsg.chpl) are not registered correctly.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected both functions cumsum and cumprod to be registered for all 4 data types: int, uint, real, bool.
Error Message
Unit tests fail on cumsum and cumprod, because the unit tests attempt to use all 4 data types.
Is this a Blocking Issue
ak.get_config()
OutputAdditional context
To reproduce the error in Commands.chpl, you only need to do make register-commands.
To see the failures in unit test, do a full make (1 dim is sufficient), and run the tests/numpy/numeric_test.py unit test. You will see failures in test_cumsum_and_cumprod
The text was updated successfully, but these errors were encountered: