stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

VKGPGPU

  • 13 Devlogs
  • 22 Total hours

framework for general purpose computing on gpu with vulkan in pure C11

Ship #1 Pending review

I made VKGPGPU, this is C11 library that uses vulkan under the hood and provides simpler access to general purpose computing on GPU (something like CUDA but more lightweight) im planning to make simple perceptron neural network with it. Learning vulkan was challenging, i still don’t know majority of things (graphics pipeline), I’m proud that this thing works and i enjoy my code quality. To test my project people need to know basic GPU concepts and some shading language that can compile to SPIRV (GLSL is the easiest)

  • 13 devlogs
  • 22h
Try project → See source code →
Open comments for this post

4h 57m 24s logged

I rewrote api so now its recording cmd buffer and in theory multiple dispatches and programs can be in pipeline, its working!!!!!!!

0
0
20
Open comments for this post

3h 12m 3s logged

I almost lost my mind, but turned out i forgot to reset file pointer after getting file size so actual file data was never read.

Implemented:

  • Kernel loading
  • Example shader that copies data from buffer A to buffer B

Here is code for shader (not tested, cmd buffer dispatch not yet implemented) and output:

0
0
5

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…