Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Likely 32bit issue in Parallel Accelerator code. #2372

@stuartarchibald

Description

@stuartarchibald

The ParallelAccerator technology code (#2318) is failing to pass all the tests on a few of the Numba build machines. The pattern to the failures seems to be for OS windows 32bit and linux x86, and for all Numpy and Python version combinations.

Opting to drop a lot of irrelvant backtrace, the key failures are:

ERROR: test_arraymap (numba.tests.test_parfors.TestParfors)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<path_to_lib>python3.6/site-packages/numba/errors.py", line 243, in new_error_context
    yield
  File "<path_to_lib>python3.6/site-packages/numba/lowering.py", line 214, in lower_block
    self.lower_inst(inst)
  File "<path_to_lib>python3.6/site-packages/numba/lowering.py", line 358, in lower_inst
    parfor.lower_parfor_parallel(self, inst)
  File "<path_to_lib>python3.6/site-packages/numba/npyufunc/parfor.py", line 76, in _lower_parfor_parallel
    call_parallel_gufunc(lowerer, func, gu_signature, func_sig, func_args, loop_ranges, array_size_vars, parfor_redvars, parfor_reddict, parfor.init_block)
  File "<path_to_lib>python3.6/site-packages/numba/npyufunc/parfor.py", line 389, in call_parallel_gufunc
    builder.store(lowerer.loadvar(loop_ranges[i]), builder.gep(out_dims, [context.get_constant(types.intp, i)]))
  File "<path_to_lib>python3.6/site-packages/llvmlite/ir/builder.py", line 654, in store
    % (value.type, ptr.type))
TypeError: cannot store i64 to i32*: mismatching types

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<path_to_lib>python3.6/site-packages/numba/tests/test_parfors.py", line 71, in test_arraymap
    output = axy(A,X,Y)

and

ERROR: test_mvdot (numba.tests.test_parfors.TestParfors)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<path_to_lib>python3.6/site-packages/numba/errors.py", line 243, in new_error_context
    yield
  File "<path_to_lib>python3.6/site-packages/numba/lowering.py", line 214, in lower_block
    self.lower_inst(inst)
  File "<path_to_lib>python3.6/site-packages/numba/lowering.py", line 358, in lower_inst
    parfor.lower_parfor_parallel(self, inst)
  File "<path_to_lib>python3.6/site-packages/numba/npyufunc/parfor.py", line 76, in _lower_parfor_parallel
    call_parallel_gufunc(lowerer, func, gu_signature, func_sig, func_args, loop_ranges, array_size_vars, parfor_redvars, parfor_reddict, parfor.init_block)
  File "<path_to_lib>python3.6/site-packages/numba/npyufunc/parfor.py", line 389, in call_parallel_gufunc
    builder.store(lowerer.loadvar(loop_ranges[i]), builder.gep(out_dims, [context.get_constant(types.intp, i)]))
  File "<path_to_lib>python3.6/site-packages/llvmlite/ir/builder.py", line 654, in store
    % (value.type, ptr.type))
TypeError: cannot store i64 to i32*: mismatching types

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<path_to_lib>python3.6/site-packages/numba/tests/test_parfors.py", line 84, in test_mvdot
    output = ddot(A,v)

Adding @ehsantn @DrTodd13 @ninegua to notify.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions