Remix.run Logo
bigyabai 2 days ago

You do own the hardware. Nvidia GPUs have FOSS driver alternatives (Nouveau, NOVA) and have supported OpenCL on the proprietary drivers since 2009.

If you don't want to use CUDA, they expose the PTX bindings to write your own CUDA alternative too: https://docs.nvidia.com/cuda/parallel-thread-execution/index...

bayindirh 2 days ago | parent | next [-]

When last looked at it, NVIDIA was not supporting OpenCL beyond 1.0.

Also, when running OpenCL, NVIDIA hardware disables multiple DMA engines, and allows only one memory transfer at a time to prevent OpenCL running as fast as CUDA.

Did NVIDIA finally allow open source drivers to access all parts and features of the card to allow feature parity? Last time I checked they were considering a plan for planning a solution to that.

pjmlp 2 days ago | parent | next [-]

People love to blame NVidia on OpenCL failure, maybe Intel and AMD should actually deliver something compute researchers want to use?

bayindirh a day ago | parent [-]

I love your insights which enlighten my blind spots most of the time, but I didn't blame NVIDIA for OpenCL's failure. I just noted a company's choices when it comes to a competing set of libraries w.r.t. to their native ones.

Having said that, I'll try compiling a OpenCL 3.0 program in the cluster, so I can report whether NVIDIA runs this software, and if yes, how well.

pjmlp a day ago | parent [-]

Yeah, however if Intel and AMD actually delivered a working 2.0 with proper support for C++ and Fortran, maybe the OpenCL 3.0 back to 1.0 reboot would not have been needed.

Likewise SYSCL although built on top of OpenCL 3.0 primitives, is mostly Intel, which also owns CodePlay, the company that delivered the first working SYSCL compute experience, again neither AMD nor Intel (until it bought CodePlay).

bigyabai 2 days ago | parent | prev [-]

OpenCL up to 3.0 is ostensibly supported: https://developer.nvidia.com/blog/nvidia-is-now-opencl-3-0-c...

I don't think bits like the GSP firmware will ever be open-sourced, but the opportunity to write better OpenCL drivers has always existed. Some of Nvidia's other proprietary driver backends (eg. GBM, Vulkan) are also decently neglected, but mostly out of disuse rather than malice. I don't think any of these things mean you don't own the hardware.

koolala 2 days ago | parent | prev [-]

I wish OpenCL was usable today like your implying...

pjmlp 2 days ago | parent [-]

Yeah, OpenCL fandom always blames NVidia instead of Intel and AMD for doing a shitty work.