Live data from Hacker News

How to accelerate a program using hardware

conorpp.com

11–12 of 12 posts

Re: How to accelerate a program using hardware

#11
post #9
post #7

Earlier quoted context omitted.

It's more interesting to see what could be done with a GPU. Also, I wonder if we could bypass the shared main memory, and to turn the pixels on and off directly (by hacking the display driver or whatever).

> Also, I wonder if we could bypass the shared main memory, and to turn the pixels on and off directly The pixels exist in a shared memory, do they not?

Pixels are mapped to memory locations, but they don't have to be, if you can access the map directly. I don't exactly know what I'm talking about here, just a thought.

Re: How to accelerate a program using hardware

#12
post #11
post #9

Earlier quoted context omitted.

> Also, I wonder if we could bypass the shared main memory, and to turn the pixels on and off directly The pixels exist in a shared memory, do they not?

Pixels are mapped to memory locations, but they don't have to be, if you can access the map directly. I don't exactly know what I'm talking about here, just a thought.

What would be the difference between writing to shared hardware pixels over a shared memory performance wise?

I mean, pixels are just like a memory except that they glow. They hold their value and can be writen a new value in sync with a clock (which is normally 60 Hz for most monitors which is MUCH slower then on chip memory). There could be no performance benefit.

Post reply on HN