杰哥的{运维,编程,调板子}小笔记
Clang 如何支持 CUDA 程序
前言
编译 CUDA 程序的主要工具是 NVIDIA 提供的闭源编译器 NVCC,但实际上,NVCC 是基于 LLVM 开发的(来源:NVIDIA CUDA Compiler),NVIDIA 也把 NVCC 其中一部分逻辑贡献给了 LLVM 上游,使得 Clang 也可以在 CUDA 的配合下编译 CUDA 程序。这篇博客尝试研究 Clang/LLVM 如何实现 CUDA 程序的编译,主要是 Clang 前端部分,后端部分,也就是从 LLVM IR 到 NVPTX 的这一步还没有进行深入的研究。
source
Clang 如何支持 CUDA 程序
前言
编译 CUDA 程序的主要工具是 NVIDIA 提供的闭源编译器 NVCC,但实际上,NVCC 是基于 LLVM 开发的(来源:NVIDIA CUDA Compiler),NVIDIA 也把 NVCC 其中一部分逻辑贡献给了 LLVM 上游,使得 Clang 也可以在 CUDA 的配合下编译 CUDA 程序。这篇博客尝试研究 Clang/LLVM 如何实现 CUDA 程序的编译,主要是 Clang 前端部分,后端部分,也就是从 LLVM IR 到 NVPTX 的这一步还没有进行深入的研究。
source
Chips and Cheese
Starfield on the RX 6900 XT, RX 7600, and RTX 2060 Mobile
#ChipAndCheese
Telegraph | source
(author: clamchowder)
Starfield on the RX 6900 XT, RX 7600, and RTX 2060 Mobile
#ChipAndCheese
Telegraph | source
(author: clamchowder)
Chips and Cheese
AVX10/128 is a silly idea and should be completely removed from the specification
#ChipAndCheese
Telegraph | source
(author: Felix "Poutine" CLC)
AVX10/128 is a silly idea and should be completely removed from the specification
#ChipAndCheese
Telegraph | source
(author: Felix "Poutine" CLC)
MICRO 论文预览
#今日看了什么
由于我老眼昏花+大脑宕机,把 semester 当成学年,正在大羡慕特羡慕怎么大二就在 cache coherence,大三还可以 tapeout,然后发现是 master program。
挠了一下头,好像还算正常。
https://zhuanlan.zhihu.com/p/659989926?utm_psn=1695225486517694466
由于我老眼昏花+大脑宕机,把 semester 当成学年,正在大羡慕特羡慕怎么大二就在 cache coherence,大三还可以 tapeout,然后发现是 master program。
挠了一下头,好像还算正常。
https://zhuanlan.zhihu.com/p/659989926?utm_psn=1695225486517694466