@karolherbst@chaos.social titelbild
@karolherbst@chaos.social avatar

karolherbst

@karolherbst@chaos.social

Linux Graphics Developer
Freedesktop Code of Conduct Enforcement team member

Mostly working on Rusticl and Nouveau
Implemented OpenCL in Rust for fun

🏳️‍🌈🏳️‍⚧️ are welcomed.

Nazis, $hitcoin cultists, Right-Libertarians, Longterminists, Tankies, techbros and other fascists not welcomed. This is a shithead free zone.

Private account, please direct all business inquiries to: https://twitter.com/karolherbst

#mesa
#nouveau
#nvk
#opencl
#rust #rustlang
#rusticl
#coc

Dieses Profil is von einem föderierten Server und möglicherweise unvollständig. Auf der Original-Instanz anzeigen

karolherbst , an Random Englisch
@karolherbst@chaos.social avatar

today is good weather, 19ºC and a bit windy

karolherbst OP ,
@karolherbst@chaos.social avatar

@serebit 🥵

ShadowJonathan , an Random Englisch
@ShadowJonathan@tech.lgbt avatar

I love it when capitalism goes the investment strategy of vampirism, where they suck out all the life force just for quick profit.

karolherbst ,
@karolherbst@chaos.social avatar

@ShadowJonathan the fun part is, if it crashes it's always described like a weather report, nobody's at fault, it's just "harsh market conditions", entirely natural phenomenon. Nobody could have known. It just appears out of nowhere every time.

18+ VegaHarmonia , an Random Englisch

So, I had to call a German-only hotline to find out about a payment I missed because of a combined malfunction of a website and physical mail sending that resulted in me having no electricity on a day's notice

The hotline told me to go to a physical office

I had to grab a ticket, speak to a person that told me to go somewhere else in the building to pay, then inform via a phone that I paid, the person on the phone then told me to phone another number in 20 minutes so I can schedule an appointment so I can get the electricity back

18+ karolherbst ,
@karolherbst@chaos.social avatar

@VegaHarmonia sounds like Germany alright

18+ karolherbst , an Random Englisch
@karolherbst@chaos.social avatar

If your feature isn't important enough to e.g. save lives, it's probably also not important enough to be opt-out.

And if it's not important enough to bother users with an opt-in request, then maybe it's just not important enough at all.

karolherbst OP ,
@karolherbst@chaos.social avatar

@TheStroyer I'm really not in the mood for those kind of arguments.

Either respond in good faith or not at all.

karolherbst OP ,
@karolherbst@chaos.social avatar

@TheStroyer you are free to ask questions if you didn't fully understand the meaning behind my post.

But anyway, user installing software is already opt-in by definition, "hidden features" e.g. ads or analytics shouldn't be opt-out, which they often are.

karolherbst , an Random Englisch
@karolherbst@chaos.social avatar

It's one of those days: " 5 files changed, 573 insertions(+), 431 deletions(-)"

karolherbst OP ,
@karolherbst@chaos.social avatar

after I'm done with this rework, I'll need a break...

" 5 files changed, 777 insertions(+), 617 deletions(-)"

karolherbst OP ,
@karolherbst@chaos.social avatar

so, it ended up being " 5 files changed, 815 insertions(+), 626 deletions(-)"

and here it is: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30152

the tldr is, that OpenCL requires you to handle global id offsets and other internal stuff, which 99.99% of all invocations don't need, so this strips a bit of ALU operations in those good cases.

and with that. happy weekend or something 🙃

karolherbst OP ,
@karolherbst@chaos.social avatar

the code changes are probably terrible, because I didn't really know where I'd land. But I also don't think I can trim down the complexity here without other changes I'm not in the mood of doing atm 🙃

karolherbst , an Random Englisch
@karolherbst@chaos.social avatar

I need a -O-1 flag in clang

karolherbst OP ,
@karolherbst@chaos.social avatar

@a1ba @VegaHarmonia yeah.. instcombine can generate integer types of non pot bit size and the spirv-llvm-translator doesn't handle them at all, so that's sadly not an option.

karolherbst OP ,
@karolherbst@chaos.social avatar

@a1ba @VegaHarmonia I've played around with running some LLVM opt passes, it's just not a great model to hope that some passes don't screw it up for us.

karolherbst OP ,
@karolherbst@chaos.social avatar

@CodingThunder being as close to the input as possible.

karolherbst OP ,
@karolherbst@chaos.social avatar

@CodingThunder sometimes there are some annoying language rules in the way, like integer promotion in C, which would cause an 8 bit addition to get represented as conversion to 32 bit, 32 bit add and a conversion to 8 bit

18+ karolherbst , an Random Englisch
@karolherbst@chaos.social avatar

It's kinda telling that 99.9% of the time somebody says "personal responsibility" it's an oppressive take on something.

18+ karolherbst OP ,
@karolherbst@chaos.social avatar

@necrophcodr like that one has to get better education to get a non shitty paying job.

And if the educational system failed you, it's your fault, not the system's, so nothing needs to change and you are only left with blame.

18+ karolherbst , an Random Englisch
@karolherbst@chaos.social avatar

what did I miss this time?

18+ karolherbst OP ,
@karolherbst@chaos.social avatar

@gabboman It's a hard question to answer without knowing what's going on honestly.

But yeah, kinda.

18+ karolherbst OP ,
@karolherbst@chaos.social avatar

@gabboman ohh that one, nah, I've seen that one 🙃

I thought something else was going on.

  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • haupteingang
  • Alle Magazine