HackerTrans
TopNewTrendsCommentsPastAskShowJobs

plekter

no profile record

comments

plekter
·l’année dernière·discuss
While in general I am very much in favour of playing both sides of an abstraction, I would argue that RTL is nowhere near the top of the stack.

In the GPU world, you have games, which are built on game engines, which are built against an API, which is implemented in a driver (which contains a compiler!), which communicates through OS abstractions with hardware, which is written in a HDL (this is where you write RTL!), which is then laid out in silicon. Now each of these parts of the stack have ridiculous complexity in them, and there are definitely things in the upper layers of the stack that impact how you want to write your RTL (and vice versa). So if your stack knowledge stops at RTL(which, honestly there is absolutely nothing wrong with!), there is still lots of fun complexity left in the stack.
plekter
·il y a 4 ans·discuss
Modern gpus + drover stack usually had more than one frame in flight. You have to output a frame every 4ms, but you do not need the latency from the start of the application rendering code to the frame being on screen to be 4ms - pipelining is allowed. But keeping that pipelining down to a minimum is also important, as it contributes to input lag which gamers care about.
plekter
·il y a 4 ans·discuss
I think multisampling may be the answer.

For partial rendering all samples must be written out, but for the final one you can resolve(average) them before writeout.
plekter
·il y a 4 ans·discuss
GPU hardware architecture. It's just a never ending stream of fun problems to solve and I love it!
plekter
·il y a 4 ans·discuss
On reading your original post again, what you experienced (both being super exhausted after work, and a shower helping) resonates with my what I felt early on in my career.

Things that helped were - Take care of primary needs during the workday. Eat, drink, bathroom breaks. The basics. I could get so caught up I would forget about those things.

- More experience helps. Work is still incredibly taxing mentally, but as I've grown a bit more battle worn I don't have to second guess whether my work is good enough all the time, which is also exhausting. Being introverted, having been in the same place for a while (not to mention - being remote) also helps, I'm not being bombarded with people I don't know any more since I know them all.

- Having kids was brutal in terms of taking time and energy, but luckily it somehow came with an 'extra gear' to cope with it. Totally worth it though, I can only hope it becomes an option for you with time

- I also found that having a plan for what to eat after work was worthwhile, so I didn't have to think - just cook it and eat it.

- If something work relates is spinning in your head, write yourself an email about it and postpone it until tomorrow.

Not sure if any of this is helpful to you, but worth a shot :)
plekter
·il y a 4 ans·discuss
Kids.

That's it, really, and I love it. Nothing makes me snap out of it like being assigned a role from Paw Patrol by my two year old, and going off on some rescue mission. It's pure bliss.
plekter
·il y a 5 ans·discuss
I totally agree that the existence of these drugs make the world a better place. I also totally agree that there should be significant financial upside to developing drugs like these, after all we do want to incentivise making the world a better place. But surely there must be a middle ground? This seems to be priced by a "what are people willing to pay for this?"(a lot, given its life saving/changing nature) vs "what do we need to charge for this, including a healthy profit for everyone involved". (much less, presumably?) I fundamentally dislike, from the perspective of the patient, the thought that precisely /because/ the drug is desperately needed by someone through no fault of their own, it /deserves/ to be expensive.

The foundation getting a cut of the success and reinvesting in new opportunities sounds good though, thanks for pointing that out!
plekter
·il y a 5 ans·discuss
That particular drug was on the news in Norway this week because it is so incredibly expensive that the state don't want to pay for it. We are talking 20-30k USD per month per patient.

I partially excused that mentally with a "but yeah, research is expensive", but now learning that it was paid for by donations ruins that argument.

The fact that the state don't want to pay for it is of course also debatable..
plekter
·il y a 5 ans·discuss
It works in Firefox on my a32
plekter
·il y a 5 ans·discuss
I don't think they can use jpg directly, that would be a waste of transistors given that the graphics world use other compression formats like etc1, bc, astc and so on.

It is however perfectly possible to decode blocks of JPG on a GPU by using shader code.
plekter
·il y a 5 ans·discuss
Micropolygons. He said on twitter that most of the triangles are pixel sized or smaller.

This approach would fall flat on its face with large primitives:

- The for loop in the rasterizing code would get very large strides between lanes in a warp for the frame buffer memory accesses

- it doesn't parallelize across pixels in a primitive, so at its extreme, a single big triangle would be single threaded..

- A HW rasterizer has a lot more things it needs to do (compute barycentrics, keep around enough state to launch a fragment shader, etc)

- Quad occupancy. Conventional rasterizers go down to 2x2 quads as their unit to work with, because you need some neighbours if you are going to calculate derivatives for mishap selection when doing texturing. The hardware is designed around quads, and all lanes in a quad must come from the same polygon - leaving 3/4 of the hardware downstream from the rasterizer unused with single pixel polygons.

These are problems that conventional rasterizers have, but if you are writing a compute rasterizer you can conveniently skip lots of things.
plekter
·il y a 5 ans·discuss
Are the consequences of the massive energy usage also opt-in?
plekter
·il y a 5 ans·discuss
I'll wager a guess: ASML, the Dutch company that makes the magic machines TSMC(and others) use to make chips.
plekter
·il y a 5 ans·discuss
I agree with that - but if you take an unchanged core and manufacture it at a different node, then you won't see a change in IPC, which in my book makes it questionable to attribute IPC gains to the process node.
plekter
·il y a 5 ans·discuss
Process node changes generally doesn't do anything for IPC - those are generally rather due to microarchitecture improvements, so I doubt the move to 5nm has anything to do with the IPC gain..?
plekter
·il y a 5 ans·discuss
Mobile GPUs (Imagination PowerVR, Qualcomm Adreno, Arm Mali, Apple's GPU) are exactly that.
plekter
·il y a 5 ans·discuss
Some of these are pure gold!

"2:4 And this I pray, that your love may abound yet more and more like a controlled use of shared memory."
plekter
·il y a 6 ans·discuss
I used Meshuggah - Bleed and a carrying harness to get my then 2 month old to sleep. Close enough to white noise, and motivation for daddy to keep rocking. Not sure I want to read research on whether that was a good idea..
plekter
·il y a 6 ans·discuss
I live in Northern Norway in eastern Finnmark. This article seems to miss these points

- When you are sufficiently far north, winter means beautiful snowy landscapes, aurora borealis, good stable conditions for cross country skiing, no grey slush. Winter is just straight up better than further south.

- People who live here can move south whenever they feel like it, so those who don't stay by choice. It's not like this region is a hub of great career opportunities and so on, unemployment rates are generally higher than the rest of the country, so people don't get stuck because of work quite as much. So, there is clearly a selection bias towards people who like winter!

Personally I don't think there's too much magic mindset stuff going on. Winter just doesn't suck as much as the author seems to imply. Also, there's plenty of SAD going on so it's not like we are immune..