Re:Vortex: OpenCL Compatible RISC-V GPGPU
by bubblethink on Thursday March 05, 2020 @06:49PM
(#22499711)
It's like CUDA, but not owned by NVIDIA. AMD's entire ROCM stack is based on OpenCL. That means that if you run tenserflow on amd gpus, you are using OpenCL. By corporate environment, if you mean day to day IT, probably none. It's useful for high performance and parallel code.
[ Parent
| on HN ]
Pretty sure the rocm backend for tensorflow uses hip, not OpenCL, and hip is basically just AMD's implementation of cuda.
I don't think it's accurate to say that the "entire ROCM stack is based on OpenCL." The rocm stack supports OpenCL, but it also supports hip, which is what AMD chose to use to implement many of the new libraries in the rocm platform (rocBLAS, rocFFT, rccl; replacing cuBLAS, cuFFT, nccl)
FWIW, rocm also doesn't support OpenCL 2.0.
You got it wrong, it is like CUDA but only supports C, has lousier debugging tools, and buggy drivers.
Yes it does support C++ and finally has its own bytecode format for heterogeneous programming, but unless the card is OpenCL 2.2, it is back to my first paragraph.