I'd love something like this with Python and ctypes.
Interactive GPU Programming, Part 1: Hello CUDA
11–20 of 30 posts
Re: Interactive GPU Programming, Part 1: Hello CUDA
#12Okay, so it's easier then directly using the the CUDA, etc., C toolchains, perhaps, but why not compare to Python + Numba, which has been available with GPU support for quite a while, and likewise avoids direct exposure to the underlying C toolchains, provides interactive compilation, can be used with a nice REPL (or, Jupyter Notebook), etc.?
Re: Interactive GPU Programming, Part 1: Hello CUDA
#13I'd love something like this with Python and ctypes.
Re: Interactive GPU Programming, Part 1: Hello CUDA
#14I hope CUDA will get replaced by Vulkan merged with whatever core OpenCL features it still needs. Looks like Khronos are looking into converging them in some way: https://www.pcper.com/reviews/Graphics-Cards/Follow-Neil-Tre... CUDA unfortuantely is Nvidia's lock-in, so not a good way forward.
While I agree with your sentiment, unfortunately Nvidia is the only vendor that pays considerable number of people to develop the ecosystem. AMD basically says "get lost" by refusing to put more than a handful of people on the job of providing OpenCL libraries. And, BTW, they change their minds every few years. I hope that HIP won't be abandonware...
Re: Interactive GPU Programming, Part 1: Hello CUDA
#15I hope CUDA will get replaced by Vulkan merged with whatever core OpenCL features it still needs. Looks like Khronos are looking into converging them in some way: https://www.pcper.com/reviews/Graphics-Cards/Follow-Neil-Tre... CUDA unfortuantely is Nvidia's lock-in, so not a good way forward.
FWIW, all my libraries work with both CUDA and OpenCL. While I agree with your sentiment, unfortunately Nvidia is the only vendor that pays considerable number of people to develop the ecosystem. AMD basically says "get lost" by refusing to put more than a handful of people on the job of providing OpenCL libraries. And, BTW, they change their minds every few years. I hope that HIP won't be abandonware...
Vulkan itself is developed and supported well, and it already can be used for compute as far as I know. But apparently there are some features that come from the OpenCL world that need to be filled in. It wouldn't be AMD's exclusive effort. So hopefully things will start moving.
Re: Interactive GPU Programming, Part 1: Hello CUDA
#16Earlier quoted context omitted.
FWIW, all my libraries work with both CUDA and OpenCL. While I agree with your sentiment, unfortunately Nvidia is the only vendor that pays considerable number of people to develop the ecosystem. AMD basically says "get lost" by refusing to put more than a handful of people on the job of providing OpenCL libraries. And, BTW, they change their minds every few years. I hope that HIP won't be abandonware...
> unfortunately Nvidia is the only vendor that pays considerable number of people to develop the ecosystem. AMD basically says "get lost" by refusing to put more than a handful of people on the job of providing OpenCL libraries. Vulkan itself is developed and supported well, and it already can be used for compute as far as I know. But apparently there are some features that come from the OpenCL world that need to be…
Re: Interactive GPU Programming, Part 1: Hello CUDA
#17Re: Interactive GPU Programming, Part 1: Hello CUDA
#18Re: Interactive GPU Programming, Part 1: Hello CUDA
#19E.g. ccminer. Try to make it, but it finds my modern gcc or clang too modern :(