Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hjabird
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
hjabird
3y ago
There are some great replies to my comment - my original comment was too reductive. However, I still think that entrenching CUDA as the de-facto language for heterogeneous computing is a mistake. We need an open ecosystem for AI and HPC, wh
2.
▲
by
hjabird
3y ago
True. This is the big advantage of an open standard instead jumping from one vendors walled garden to another.
3.
▲
by
hjabird
3y ago
The problem with effectively supporting CUDA is that encourages CUDA adoption all the more strongly. Meanwhile, AMD will always be playing catch-up, forever having to patch issues, work around Nvidia/AMD differences, and accept the per
4.
▲
by
hjabird
3y ago
Intel's modern compilers (icx, icpx) are clang-based. There is an open-source version [1], and the closed-source version is built atop of this with extra closed-source special sauce. AOCC and ROCm are also based on LLVM/clang. [1]
5.
▲
by
hjabird
3y ago
What kind of performance is achieveable with some of the features that Vcc enables (true function calls, function pointers, goto), and what are some of the limitations? On GPU, function calls are much more expensive than on CPU. Usually it
6.
▲
by
hjabird
3y ago
I wouldn't expect them to drop CUDA support, even if SYCL is a viable alternative: * The CUDA backend is mature, featureful, and significant effort has been invested into optimising it on Nvidia hardware. One does not simply throw away
7.
▲
by
hjabird
3y ago
A challenge with this is that all current AMD GPU support in SYCL compilers (DPC++ w/ Codeplay's oneAPI for AMD GPUs, and AdaptiveCpp), is built atop of ROCm / HIP. If AMD were to move away from ROCm, they would have to adopt
8.
▲
by
hjabird
3y ago
> The performance of any application on SYCL is currently quite poor. SYCL can get pretty much equivalent performance in Kernels to eg. CUDA. Try looking at SYCL performance papers on Arxiv. Eg. see [1]. That isn't to say that SYCL
9.
▲
by
hjabird
3y ago
SYCL (closely related to oneAPI) isn't single-vendor-controlled. It's a Khronos open standard. If you take a look at the spec, you'll see contributions from various universities, Qualcomm, Huawei, Argonne, Altera, and AMD (Xi
10.
▲
by
hjabird
3y ago
> Why would you want OpenCL? OpenCL is stricter with the results of floating point operations, and makes different assumptions with respect to memory aliasing. Whether or not this is important the AI domain I don't know. > Why wo
11.
▲
by
hjabird
3y ago
SYCL isn't based on OpenCL. SYCL (SYCL-2020 spec) supports multiple backends, including Nvidia's CUDA, AMD's HIP, OpenCL, Intel's Level-zero, and also running on the host CPU. This can either be done with Intel's DP
12.
▲
by
hjabird
3y ago
SYCL is gaining traction, especially in the HPC community since it can target AMD, Nvidia and Intel hardware with one codebase. A fun fact is the GROMACS (a major application for molecular dynamics, and big consumer of HPC time) recommends