clspv

Clspv is a compiler for OpenCL C to Vulkan compute shaders (by google)

Clspv Alternatives

Similar projects and alternatives to clspv

  1. rust-gpu

    83 clspv VS rust-gpu

    πŸ‰ Making Rust a first-class language and ecosystem for GPU shaders 🚧

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. Whisper

    35 clspv VS Whisper

    High-performance GPGPU inference of OpenAI's Whisper automatic speech recognition (ASR) model (by Const-me)

  4. DirectXShaderCompiler

    This repo hosts the source for the DirectX Shader Compiler which is based on LLVM/Clang.

  5. Cgml

    GPU-targeted vendor-agnostic AI library for Windows, and Mistral model implementation.

  6. GLSL

    27 clspv VS GLSL

    GLSL Shading Language Specification and Extensions

  7. metal-cpp

    Metal-cpp is a low-overhead C++ interface for Metal that helps developers add Metal functionality to graphics apps, games, and game engines that are written in C++.

  8. OpenCLOn12

    The OpenCL-on-D3D12 mapping layer

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. clvk

    4 clspv VS clvk

    Implementation of OpenCL 3.0 on Vulkan

  11. wasmer-js

    10 clspv VS wasmer-js

    Monorepo for Javascript WebAssembly packages by Wasmer

  12. kompute

    40 clspv VS kompute

    General purpose GPU compute framework built on Vulkan to support 1000s of cross vendor graphics cards (AMD, Qualcomm, NVIDIA & friends). Blazing fast, mobile-enabled, asynchronous and optimized for advanced GPU data processing usecases. Backed by the Linux Foundation.

  13. llvm

    10 clspv VS llvm

    Intel staging area for llvm.org contribution. Home for Intel LLVM-based projects. (by intel)

  14. chipStar

    6 clspv VS chipStar

    chipStar is a tool for compiling and running HIP/CUDA on SPIR-V via OpenCL or Level Zero APIs.

  15. SPIRV-VM

    Virtual machine for executing SPIR-V

  16. alpaka

    1 clspv VS alpaka

    Abstraction Library for Parallel Kernel Acceleration :llama: (by alpaka-group)

  17. metal-rs

    5 clspv VS metal-rs

    Deprecated Rust bindings for Metal

  18. doomgeneric

    A GPU port of DOOM (by jhuber6)

  19. objc4

    2 clspv VS objc4
  20. shady

    Research shading language IR

  21. Thrust

    4 clspv VS Thrust

    Discontinued [ARCHIVED] The C++ parallel algorithms library. See https://github.com/NVIDIA/cccl

  22. vuh

    3 clspv VS vuh

    Vulkan compute for people

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better clspv alternative or higher similarity.

clspv discussion

Log in or Post with

clspv reviews and mentions

Posts with mentions or reviews of clspv. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-01-07.
  • Show HN: HipScript – Run CUDA in the Browser with WebAssembly and WebGPU
    5 projects | news.ycombinator.com | 7 Jan 2025
  • Vcc – The Vulkan Clang Compiler
    9 projects | news.ycombinator.com | 9 Jan 2024
    See https://github.com/google/clspv for an OpenCL implementation on Vulkan Compute. There are plenty of quirks involved because the two standards use different varieties of SPIR-V ("kernels" vs. "shaders") and provide different guarantees (Vulkan Compute doesn't care much about numerical accuracy). The Mesa folks are also looking into this as part of their RustiCL (a modern OpenCL implementation) and Zink (implementing OpenGL and perhaps OpenCL itself on Vulkan) projects.
  • AMD's CDNA 3 Compute Architecture
    7 projects | news.ycombinator.com | 17 Dec 2023
    Vulkan Compute backends for numerical compute (as typified by both OpenCL and SYCL) are challenging, you can look at Google's cspv https://github.com/google/clspv project for the nitty gritty details. The lowest-effort path is actually via some combination of Rocm (for hardware that AMD bothers to support themselves) and the Mesa project's Rusticl backend (for everything else).
  • WSL with CUDA Support
    2 projects | news.ycombinator.com | 22 Jan 2022
    D3D12 has more compute features than Vulkan has. It works out for DXVK because games often don’t use those, but it’ll cause much more issues with CLon12.

    By the way, if you are ready to have a _limited_ implementation without a full feature set because of Vulkan API limitations, clvk is a thing. The list of limitations of that approach is at https://github.com/google/clspv/blob/master/docs/OpenCLCOnVu...

    tldr: Vulkan and OpenCL SPIR-V dialects are different, and the former has significant limitations affecting this use case

  • Resources for Vulkan GPGPU searched
    6 projects | /r/vulkan | 12 Jan 2022
  • Low overhead C++ interface for Apple's Metal API
    8 projects | news.ycombinator.com | 22 Nov 2021
    For OpenCL on DX12, the test suite doesn't pass yet. Every Khronos OpenCL 1.2 CTS test passes on at least one hardware driver, but there's none that pass them all. That is why CLon12 isn't submitted to Khronos's compliant products list yet.

    The pointer semantics that Vulkan has aren't very amenable to implementing a compliant OpenCL implementation on top of. There are also some other limitatons: https://github.com/google/clspv/blob/master/docs/OpenCLCOnVu....

  • [Hardware Unboxed] - Apple M1 Pro Review - Is It Really Faster than Intel/AMD?
    2 projects | /r/hardware | 10 Nov 2021
    Vulkan is much more limited, notably because of Vulkan's SPIR-V dialect limitations. That makes a compliant OpenCL 1.2 impl on top of Vulkan impossible. (see: https://github.com/google/clspv/blob/master/docs/OpenCLCOnVulkan.md)
  • Cross Platform GPU-Capable Framework?
    6 projects | /r/gpgpu | 1 Aug 2021
    OpenCL really is your best bet for a cross-platform GPU-capable framework. OpenCL 3.0 cleared out a lot of the cruft from OpenCL 2.x so it's seeing a lot more adoption. The most cross-platform solution is still OpenCL 1.2, largely for MacOS, but OpenCL 3.0 is becoming more and more common for Windows and Linux and multiple devices. Even on platforms without native OpenCL support there are compatibility layers that implement OpenCL on top of DirectX (OpenCLOn12) or Vulkan (clvk and clspv).
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 16 Jul 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more β†’

Stats

Basic clspv repo stats
9
676
8.7
21 days ago

google/clspv is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of clspv is LLVM.


Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com