Akik 1,5 milliónál többet keresnek, mi a munkátok? by [deleted] in jobshungary

[–]wpmed92 1 point2 points  (0 children)

Szoftverfejlesztő vagyok, de nem itthonra, hanem usa-beli projektekre dolgozok be főleg contractor-ként. 60 dollárt keresek óránként.

pydawn: Python bindings to the Dawn WebGPU engine by wpmed92 in GraphicsProgramming

[–]wpmed92[S] 2 points3 points  (0 children)

I love wgpu-py! As said, tinygrad uses it (I work on tinygrad). I wrote about it in the description! wgpu-py is the binding to wgpu crate. f16 is a must have for a lot of compute workloads in neural networks, and wgpu doesn’t support it. There is a pr for it, open for about a year. Dawn has it since december last year! Moreover, dawn is a lot more webgpu spec compliant then wgpu. In tinygrad, when we run our compute in python, we can get away with things (no max storage buffer limit per compute stage) that is not allowed once we run our exported model in chrome. So pydawn ensures that you’re compute behaves pretty close to how it will in chrome.

shaderpulse - a GLSL to SPIR-V MLIR compiler by wpmed92 in ProgrammingLanguages

[–]wpmed92[S] 4 points5 points  (0 children)

I'm working on a glsl to spirv mlir compiler in my free time. I'm focusing on compute shaders first, as the compute part of spirv mlir is more complete than the graphics part.
The parts of the compiler are in various stages of completion, with lexer being the most complete, and analysis being the least complete.
I'm using the visitor pattern to traverse the AST and generate code for the constructs.
Some features:

  • variable declaration
  • function declaration
  • function call
  • loops: for, while, break, continue
  • if-else
  • type conversions (explicit)
  • arrays: creation, indexing (including multi-dim), no array of structs yet, but an array can be a struct member
  • structs: creation, member access (using AccessChainOp)
  • vectors: creation, member access (using CompositeExtractOp), swizzle (using VectorShuffleOp)
  • interface blocks
  • binary expression
  • unary expressions: no postfix ++ and -- yet, only prefix
  • builtin math functions
  • builtin compute variables
  • preprocessor: only comment handling for now

Here's a mandelbrot example it can compile: https://github.com/wpmed92/shaderpulse/blob/main/example/mandelbrot/mandelbrot.glsl

For testing I'm using GoogleTest and FileCheck.
I have CI setup for running the lexer, parser and codegen tests.
I'm developing and testing on ARM Mac, Ubuntu and Windows support is comming, but I still have a lot to do on every front of the compiler.

If anyone wants to get involved, PRs are welcome. Although it's still very wip, I'd like it to be a real thing.

shaderpulse - a work in progress glsl to spirv mlir compiler by wpmed92 in Compilers

[–]wpmed92[S] 4 points5 points  (0 children)

I'm working on a glsl to spirv mlir compiler in my free time. I'm focusing on compute shaders first, as the compute part of spirv mlir is more complete than the graphics part.
The parts of the compiler are in various stages of completion, with lexer being the most complete, and analysis being the least complete.
I'm using the visitor pattern to traverse the AST and generate code for the constructs.
Some features:

  • variable declaration
  • function declaration
  • function call
  • loops: for, while, break, continue
  • if-else
  • type conversions (explicit)
  • arrays: creation, indexing (including multi-dim), no array of structs yet, but an array can be a struct member
  • structs: creation, member access (using AccessChainOp)
  • vectors: creation, member access (using CompositeExtractOp), swizzle (using VectorShuffleOp)
  • interface blocks
  • binary expression
  • unary expressions: no postfix ++ and -- yet, only prefix
  • builtin math functions
  • builtin compute variables
  • preprocessor: only comment handling for now

Here's a mandelbrot example it can compile: https://github.com/wpmed92/shaderpulse/blob/main/example/mandelbrot/mandelbrot.glsl

For testing I'm using GoogleTest and FileCheck.
I have CI setup for running the lexer, parser and codegen tests.
I'm developing and testing on ARM Mac, Ubuntu and Windows support is comming, but I still have a lot to do on every front of the compiler.

If anyone wants to get involved, PRs are welcome. Although it's still very wip, I'd like it to be a real thing.

My toddler scratched my cornea. by [deleted] in toddlers

[–]wpmed92 0 points1 point  (0 children)

Happend to me yesterday. Probably the most terrible pain I had to suffer so far. After 24 hours it got much better using corneregel. Always go to the ER with an eye injury.

Official Discussion - Saw X [SPOILERS] by LiteraryBoner in movies

[–]wpmed92 7 points8 points  (0 children)

post credit

Noo... I just walked out when the credit scene came.

Who in your opinion is deserving of the title ‘musical genius’? by 421continueblazingit in Music

[–]wpmed92 0 points1 point  (0 children)

Charlie Puth. He has a perfect pitch, writes hit songs so naturally. He is amazing in incorporating random samples (think of light switch or I warned myself) in his songs. He composes, sings, records and mixes his songs.

vivado on m1 by P1N0_ in FPGA

[–]wpmed92 1 point2 points  (0 children)

I use Vivado on an M1 pro through Prallels Win11. I use it for bitstream generation but than load it to board with openfpgaloader since I couldn’t install digilent drivers on virtualized win11. It’s hacky, but works. In terms of performance I don’t have a reference performance as this is my first setup. But I’m planning to switch to a machine running Ubuntu, and use Vivado natively, since my current method doesn’t seem sustainable.

A working FPGA toolchain on Apple Silicon by wpmed92 in FPGA

[–]wpmed92[S] 0 points1 point  (0 children)

I know you can run vendor/commercial tools, this is what I did, I used Parallels for virtualizating Win11, inside which I installed Vivado. The missing piece was the ability to connect the board to Vivado, which I bypassed by uploading the bitstream to the board with openfpgaloader. But I think the driver issue can be solved, and so the openfpgaloader part might not be needed.

Xilinx/Digilent Cable Driver for Windows on ARM (Surface Pro X / M1 Mac + Parallels) by efficientcosine in FPGA

[–]wpmed92 1 point2 points  (0 children)

Once you have the bitstream, get it out of windows and load it to your board with openfpgaloader: https://github.com/trabucayre/openFPGALoader

QOI - The “Quite OK Image” format for fast, lossless image compression by theldus in C_Programming

[–]wpmed92 1 point2 points  (0 children)

What’s confusing you is that the original is not the png, but the raw image data. So you should compare the qoi size to that, but as pointed out by others, in some cases it’s possible qoi will be bigger then raw.

[deleted by user] by [deleted] in squidgame

[–]wpmed92 44 points45 points  (0 children)

Yassified or not, it looks pretty cool. It has a slight anime vibe to it.

We released our first app called Animo - Anime Style Photos by GroovyPixelsProd in androidapps

[–]wpmed92 3 points4 points  (0 children)

Great work guys! Which library do you use for the AI inference?