The get_flops() function used in get_best_gpu() does not support the Apple GPU used in the Apple M SoC. Therefore, unless a device is manually passed into SartOpencl, the select_device() function will not be able to recognise the Apple GPU as a supported device.
This can be fixed by adding Apple to the list of supported device vendors.
The
get_flops()
function used inget_best_gpu()
does not support the Apple GPU used in the Apple M SoC. Therefore, unless a device is manually passed intoSartOpencl
, theselect_device()
function will not be able to recognise the Apple GPU as a supported device.This can be fixed by adding Apple to the list of supported device vendors.