kompute
GLSL
Our great sponsors
kompute | GLSL | |
---|---|---|
37 | 27 | |
1,486 | 315 | |
6.9% | 2.9% | |
8.1 | 6.0 | |
4 days ago | about 2 months ago | |
C++ | ||
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kompute
-
Intel CEO: 'The entire industry is motivated to eliminate the CUDA market'
The two I know of are IREE and Kompute[1]. I'm not sure how much momentum the latter has, I don't see it referenced much. There's also a growing body of work that uses Vulkan indirectly through WebGPU. This is currently lagging in performance due to lack of subgroups and cooperative matrix mult, but I see that gap closing. There I think wonnx[2] has the most momentum, but I am aware of other efforts.
[1]: https://kompute.cc/
[2]: https://github.com/webonnx/wonnx
-
[P] - VkFFT version 1.3 released - major design and functionality improvements
Great to see the positive momentum of this framework! Best wishes and upvotes from the Vulkan Kompute team :)
-
VkFFT: Vulkan/CUDA/Hip/OpenCL/Level Zero/Metal Fast Fourier Transform Library
To a first approximation, Kompute[1] is that. It doesn't seem to be catching on, I'm seeing more buzz around WebGPU solutions, including wonnx[2] and more hand-rolled approaches, and IREE[3], the latter of which has a Vulkan back-end.
[1]: https://kompute.cc/
[2]: https://github.com/webonnx/wonnx
[3]: https://github.com/openxla/iree
-
I'm Having Trouble Building this Library...
I look in an example and see similar instructions, stating that the build should be quite simple. But again, it doesn't work. It generates a bunch of folders with Visual Studio stuff, but no executables, no libraries, or anything like that.
I can't figure out how, and there are no tutorials. According to https://kompute.cc/overview/build-system.html I should simply run "cmake -Bbuild". But this doesn't output what I need, and when I look in the Makefile I get the sense that this is more an example Makefile... but then that contradicts the above tutorial.
-
How to properly construct an abstraction layer with Vulkan
Kompute is in my opinion good example to take inspiration for abstractions.
-
Vulkan for Image Processing? Good choice?
Currently, there's a few Vulkan compute frameworks floating around (like Kompute). I would work with those. Kompute simplifies a lot of the biolerplate and seems like you could benefit from using it.
-
Paralell computing project
Try Kompute, a project from the Linux foundation. It is quite simple to use, and does not require deep knowledge of graphics API. It’s a bit painful to setup, but it kinda works well (and I have a project going on on it)
-
Bootstrapping Vulkan for Scientific Compute Applications?
This so much.
-
[D] PyTorch is moving to the Linux Foundation
This makes alot of sense considering the Linux Foundation is also in charge of Kompute which is likely to be the basis of vendor agnostic GPGPU, and thus the basis of vendor agnostic GPU-based machine learning.
GLSL
-
Is there a good resource for mapping GLSL extensions to Vulkan extensions/features
You're looking for this repo
-
GLSL shaders resources
You have access to physical (u64) global memory pointers through buffer_reference in GLSL, note you should be using buffer_reference2
-
New Blog: Introducing Ray Tracing Position Fetch Extension
On April 27, 2023 the Vulkan® Ray Tracing TSG released the VK_KHR_ray_tracing_position_fetch extension, which exposes the ability to fetch vertex positions from an acceleration structure hit when tracing rays. The SPIR-V SPV_KHR_ray_tracing_position_fetch and GLSL GL_EXT_ray_tracing_position_fetch extensions have also been released to provide SPIR-V and GLSL support for this functionality.
- Where can I find and what is with there being practically no documentation for GL_EXT_spirv_intrinsics and spirv_by_reference?
-
Thoughts?
You can also have general extensions that are only supported on some hardware, for instance NVIDIA supports all of these extensions on OpenGL that add support for Vulkan's thread subgroup operations while AMD only supports these extensions and a few others that add support for similar features to the extension that NVIDIA supports, but with way more restrictions.
-
You Can Use Vulkan Without Pipelines Today - Khronos Blog
GL_NV_ray_tracing is a vendor extension, but it does exist.
-
Porting from DXR/HLSL to Vulkan Ray Tracing Extension/GLSL
According to this document, one should be able to extract those values through
-
Learning Modern 3D Graphics Programming
The reports of my death are greatly exaggerated
https://github.com/KhronosGroup/GLSL/blob/master/extensions/...
-
Is there any way to index an array of bindless textures based on gl_InstanceID?
I don't think there's away. For Vulkan, there's GL_EXT_nonuniform_qualifier which allows you to index with gl_InstanceIndex but AFAIK it's not available for OpenGL.
-
Drawing multiple separate textures in one draw call
AMD hardware works a little differently, and for that you have to write a waterfall loop with subgroup instructions to get the correct behavior (since GL_EXT_nonuniform_qualifier doesn't exist in OpenGL GLSL). The loop might look like this (you would use it the same way as NonUniformEXT in Vulkan GLSL).
What are some alternatives?
rust-gpu - 🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧
clspv - Clspv is a compiler for OpenCL C to Vulkan compute shaders
ROCm - AMD ROCm™ Software - GitHub Home [Moved to: https://github.com/ROCm/ROCm]
Rust-CUDA - Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.
VkFFT - Vulkan/CUDA/HIP/OpenCL/Level Zero/Metal Fast Fourier Transform library
vuh - Vulkan compute for people
OpenCLOn12 - The OpenCL-on-D3D12 mapping layer
ocl - OpenCL for Rust
godot-proposals - Godot Improvement Proposals (GIPs)
VulkanExamples - Examples and demos for the Vulkan C++ API
alpaka - Abstraction Library for Parallel Kernel Acceleration :llama: