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

cunumeric.mean with dtype=np.complex64 causes fatal python error #858

Closed
robinwnv opened this issue Mar 24, 2023 · 0 comments
Closed

cunumeric.mean with dtype=np.complex64 causes fatal python error #858

robinwnv opened this issue Mar 24, 2023 · 0 comments

Comments

@robinwnv
Copy link
Contributor

robinwnv commented Mar 24, 2023

arr_num = num.random.randint(-5, 5, size=(1,))
dt = np.complex64
num.mean(arr_num, dtype=np.dtype(dt))

In Numpy, pass
In cuNumeric, although the case pass, the whole test aborted with fatal python error.
For dt=np.float32 or np.int32, pass for cuNumeric.

legion_python: /home/robinw/work_2021/porting/legate/build_20230309/cunumeric/src/cunumeric/binary/binary_op_template.inl:72: void cunumeric::BinaryOpImpl<KIND, OP_CODE>::operator()(cunumeric::BinaryOpArgs&) const [with legate_core_type_code_t CODE = (legate_core_type_code_t)13; int DIM = 1; std::enable_if_t<(! cunumeric::BinaryOp<OP_CODE, CODE>::valid)>* = 0; cunumeric::VariantKind KIND = (cunumeric::VariantKind)2; cunumeric::BinaryOpCode OP_CODE = (cunumeric::BinaryOpCode)10]: Assertion `false' failed.
Fatal Python error: Aborted

manopapad added a commit to manopapad/cunumeric that referenced this issue Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant