You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running on multicore it compiles without issue, but on OpenCL I see the following:
$ futhark -V
Futhark 0.21.0
git: clean-ad @ 8ec2df6 (Wed Sep 15 00:28:33 2021 +0200)
$ futhark bench --backend=opencl -r 1000 lt.fut
...
Internal compiler error.
Please report this at https://github.com/diku-dk/futhark/issues.
Type error after pass 'In-place lowering':
In function entry_main
When checking function body
In expression of statement
{defunc_4_map_res_15556 : ({}, [nxfm_15478][nlon_15481][nlat_15480]f32)}
in false branch
In expression of statement
{defunc_4_map_res_18995 : ({}, [nxfm_15478][nlon_15481][nlat_15480]f32)}
in true branch
In expression of statement
{defunc_4_map_res_16712 : ({}, [nxfm_15478][nlon_15481][nlat_15480]f32)}
In expression of statement
{out_16963 : ({}, [nlon_15481][nlat_15480]f32)}
Type error:
WriteReturns returning iLmX_res_16887 of type [nlat_15480]f32, shape=[nlon_15481][nlat_15480], but destination array has type [nlon_15481][nlat_15480]f32
The text was updated successfully, but these errors were encountered:
I tried to minimise the example but then the problem went away, so here's what I have:
When running on multicore it compiles without issue, but on OpenCL I see the following:
The text was updated successfully, but these errors were encountered: