From 87975db2635e16458e4ab92cebc7e8181fbae9ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Gaspard?= Date: Mon, 14 Oct 2024 18:17:07 +0200 Subject: [PATCH 1/2] add llvm spir-v backend to readme Fixes #33 (converted to discussion since) I'm not including VCC here, as I didn't understand enough from its homepage to write a proper comparison. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4cee76106a..fed889ce61 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,7 @@ There are a few different components to this repo: Historical and other related projects for compiling Rust code to GPUs. +- [SPIR-V LLVM backend](https://llvm.org/docs/SPIRVUsage.html) compiles to OpenCL SPIR-V, which is not the same subset of capabilities as the Vulkan ones supported here - 2016: [glassful](https://github.com/kmcallister/glassful) Compiles a subset of Rust to GLSL. - 2017: [inspirv-rust](https://github.com/msiglreith/inspirv-rust) Experimental Rust to SPIR-V compiler. - 2018: [nvptx](https://github.com/japaric-archived/nvptx) Rust to PTX compiler. From 24f47107b457b2499a074d066850311dfd632adc Mon Sep 17 00:00:00 2001 From: Christian Legnitto Date: Mon, 14 Oct 2024 14:12:02 -0400 Subject: [PATCH 2/2] Tweak wording --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fed889ce61..06aa72266a 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ There are a few different components to this repo: Historical and other related projects for compiling Rust code to GPUs. -- [SPIR-V LLVM backend](https://llvm.org/docs/SPIRVUsage.html) compiles to OpenCL SPIR-V, which is not the same subset of capabilities as the Vulkan ones supported here +- [SPIR-V LLVM backend](https://llvm.org/docs/SPIRVUsage.html) Compiles to OpenCL SPIR-V, which differs from Vulkan SPIR-V used by Rust GPU. - 2016: [glassful](https://github.com/kmcallister/glassful) Compiles a subset of Rust to GLSL. - 2017: [inspirv-rust](https://github.com/msiglreith/inspirv-rust) Experimental Rust to SPIR-V compiler. - 2018: [nvptx](https://github.com/japaric-archived/nvptx) Rust to PTX compiler.