BrownBiomechanics / SlicerAutoscoperM

This 3D Slicer extension enables users to perform image registration.
https://autoscoperm.slicer.org
MIT License
0 stars 3 forks source link

OpenCL error at cfg open (Mayo) #26

Closed amymmorton closed 1 year ago

amymmorton commented 1 year ago

Walked through the wrist data available on the gdrive with Cesar Lopez (Mayo Clinic), after correcting root paths - Autoscoper M crashed:

[FD] OpenCL error at D:\D\P\S-0-E-b\SlicerAutoscoperM-build\Autoscoper\libautoscoper\src\gpu\opencl\OpenCL.cpp:1000 [FD] -59 CL_INVALID_OPERATION

NicerNewerCar commented 1 year ago

Looks like this is happening on an OpenCL 1.2 device when a buffer is getting filled.

CL_INVALD_OPERATION is not one of the standard error codes that clEnqueueFillBuffer returns.

This person ran into the same issue with some Nvidia cards.

Could you please get the information about the video card they are using? (make, model, driver version, cuda version if applicable)

Also which wrist data set did this happen on? (WN00105, WN00106, etc)

Thanks!

amymmorton commented 1 year ago

Capture image002

NicerNewerCar commented 1 year ago

It looks like the error is caused for the same reason as in this issue.

The NVidia Quadro 600 is a Fermi architecture card. The Fermi architecture only appears to support OpenCL 1.0.48 whereas Autoscopers minimum version is 1.2

A quick review of the OpenCL 1.0 r48 specs confirms that there is no command clEnqueueFillBuffer

Since the GPU doesn't appear to be a viable option, it may be worthwhile looking into getting OpenCL set up on the CPU