MacOS-only version with MPS support#127
Conversation
Rewriting for support of Apple silicon
dkoes
left a comment
There was a problem hiding this comment.
This seems to replace CUDA with Metal, which is not what is desired. Can the choice of backend be a compile time switch?
|
It may not be easy, but I can always try. I'll have a look at it and come back to you later. |
|
I restored CUDA compatibility alongside Metal, with a choice of backend at installation. So that you know, I couldn't test the CUDA side. |
|
Hi @fnachon I traced your commits back from Gnina. |
|
Actually I've just checked further. Just a little background I have not ever used CUDA before but just a glance at grid_maker.cpp Line 358, shows float3 datatypes everywhere + exposing CUDA datatypes via public facing API. Any serious effort to port this to metal or any other platform like HIPS (close to gold standard), will by definition not be backwards compatible a major architectural refactor is required. |
This is a MacOS-only version created with Claude.
Dependencies must be installed with Homebrew.
Xcode command Line Tools is necessary to compile Metal kernels