Our great sponsors
-
SPIRV-Cross
SPIRV-Cross is a practical tool and library for performing reflection on SPIR-V and disassembling SPIR-V back to high level languages.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
If you have shaders, I believe you can use SPIRV-Cross to generate GLSL, which you can probably get to pass as OpenCL C with just a bunch of macro tweaks, or at worst some small changes to spv-cross.
I work on the AnyDSL research project, we have our own IR and optimizing compiler (Thorin), our framework supports partial evaluation and efficient codegen for the host as well as multiple compute offload targets (CUDA, OpenCL C, the NVVM and AMDGPU targets in LLVM), and I've been pursuing targeting SPIR-V as well.
Related posts
- AnyDSL: Partial Evaluation Framework for Programming High-Performance Libraries
- A new programming language for high-performance computers
- Interesting Language / Architecture: AnyDSL + Impala (Add your comments + parallels in Rust?)
- Compiler IR (well, IL) design question: Syntax for multiple function entry points?
- Cache is King: A guide for Docker layer caching in GitHub Actions