Is there a way to get this to compile on a Mac?
JohnAllen opened this issue · comments
I mostly develop on a Mac and of course run CUDA code like cudarc
on a linux machine with a GPU.
I am trying to compile my code on a mac though instead of having to push it to my linux machine.
Is there a way to do this? I started working on it and added cuda.h
where this crate was looking for it, which surprisingly got me past that code-boss. The next boss is giving me missing
as_device_ptr in implementation
.
There is stuff like this which makes me think that it is possible: https://developer.nvidia.com/nvidia-cuda-toolkit-11_6_0-developer-tools-mac-hosts
So I'm just wondering is this possible at all to do?
Unfortunately no - nvidia doesn't support running on mac. Mac has their own special GPU library afaik
It's just compiling I mean, not actually running. @coreylowman