Closed leios closed 1 year ago
note the following does not error:
using KernelAbstractions
fx_string = "function check()
@print('check', '\n')
end"
@kernel function whatever_kernel(fx)
fx()
end
function whatever!(fx)
whatever_kernel(CPU(), 4)(fx, ndrange=4)
end
fx = eval(Meta.parse(replace(fx_string, "'" => '"')))
whatever!(fx)
Oh this is fun...
done in #64
When running Fae on Julia1.9-rc1, I get the following error:
Note that simply running the code again solves this issue. I am not sure how to fix it for now.