Hi all!
I'm very excited to have discovered Accelerate. As a learning project I've been working through an example from Simon Marlow's Parallel and Concurrent Programming in Haskell, on generating an image of the Mandelbrot set using the GPU.
I've come across a peculiar, size-dependent runtime error while attempting to implement a function with signature
genPlane :: Float -> Float -> Float -> Float -> Int -> Acc (Array DIM2 Complex)
The error is
double free or corruption (!prev)
and is apparently dependent on the size of the array generated. On my machine, sizes <= 1617 do not generate the error, and larger sizes do.
I'm new to Accelerate, so it's possible I'm doing something silly here. I'd appreciate any suggestions for how to investigate this further.
Matt