Skip to content
Snippets Groups Projects
Commit 542e9756 authored by Matt Wala's avatar Matt Wala
Browse files

test_nested_scan(): Declare the dtype of tmp (I think it's fair that it fails without this.)

parent d5222cf9
No related branches found
No related tags found
1 merge request!124Remove numpy dtypes from ArgExtFunction and SegmentedFunction
...@@ -182,6 +182,7 @@ def test_nested_scan(ctx_factory, i_tag, j_tag): ...@@ -182,6 +182,7 @@ def test_nested_scan(ctx_factory, i_tag, j_tag):
knl = lp.fix_parameters(knl, n=10) knl = lp.fix_parameters(knl, n=10)
knl = lp.tag_inames(knl, dict(i=i_tag, j=j_tag)) knl = lp.tag_inames(knl, dict(i=i_tag, j=j_tag))
knl = lp.add_dtypes(knl, dict(tmp=int))
knl = lp.realize_reduction(knl, force_scan=True) knl = lp.realize_reduction(knl, force_scan=True)
print(knl) print(knl)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment