Type error after pass 'simplify':
In function entry_bench_rangeQuery2d_grid
When checking function body
In expression of statement
{defunc_0_map_res_12821 : ({}, [d<{(/) n 2}>_11508]i64)}
in body of last case
In expression of statement
{partition_res_r_13695 : ({}, [d<{(/) n 2}>_11508][64i64][j_m_i_11541]i64)}
2 indices given, but type of indexee has 3 dimension(s).
This error happens when compiling with a gpu backend such as opencl or cuda.
Compilation error :
Type error after pass 'simplify': In function entry_bench_rangeQuery2d_grid When checking function body
In expression of statement {defunc_0_map_res_12821 : ({}, [d<{(/) n 2}>_11508]i64)} in body of last case In expression of statement {partition_res_r_13695 : ({}, [d<{(/) n 2}>_11508][64i64][j_m_i_11541]i64)} 2 indices given, but type of indexee has 3 dimension(s).
This error happens when compiling with a gpu backend such as opencl or cuda.
rangeQuery2d_grid.txt