pyclesperanto_prototype icon indicating copy to clipboard operation
pyclesperanto_prototype copied to clipboard

Potential issue with astype(int) on Mac M1

Open haesleinhuepf opened this issue 2 years ago • 2 comments
trafficstars

As discussed here:

  • https://github.com/haesleinhuepf/napari-simpleitk-image-processing/issues/17

We should test if cl_image.astype(int) works on M1 GPUs in pyclesperanto.

haesleinhuepf avatar Jan 10 '23 16:01 haesleinhuepf

I can confirm that cl_image.astype(int) also fails with an UNSUPPORTED error.

See a minimal example here.

thawn avatar Jan 11 '23 07:01 thawn

Any chance that this is trying to set int64? Pretty sure the Apple Silicon GPU doesn't support double precision.

psobolewskiPhD avatar Feb 25 '23 10:02 psobolewskiPhD