leios / Fable.jl

General purpose animations via iterated function systems
MIT License
28 stars 4 forks source link

Certain tests cause segfaults on `ROCArray`s #31

Closed leios closed 1 year ago

leios commented 1 year ago

The issue does not seem to be present on Array or CuArray and seems to be an issue in the following tests:

            layering_testsuite(ArrayType)
            chaos_testsuite(ArrayType)
            object_testsuite(ArrayType)

It could be because the gridsize is less than the number of threads being used? I thought that was taken care of in KA with the ndrange variable, but might be mistaken.

I am tracking this issue separately in case the segfault appears elsewhere.

Note: This can cause a system freeze if you are using the GPU for visualization as well.

leios commented 1 year ago

Check out AMDGPU#jps/dev to see if it fixes the segfaut for finalization.

Apparently the system freeze is being looked at by AMD. I'll need to follow that up in a few weeks / months.

leios commented 1 year ago

This seems to be fixed as of #64