cherab / core

The core source repository for the Cherab project.
https://www.cherab.info
Other
44 stars 24 forks source link

Unable to detect Apple GPU when using SartOpencl #429

Closed vsnever closed 4 months ago

vsnever commented 5 months ago

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.