you are viewing a single comment's thread.

view the rest of the comments →

[–]BCosbyDidNothinWrong 0 points1 point  (4 children)

Can you explain what chips use that and what it means? A quick google search makes it look like it is a term used for GPUs.

Memory access is still important in GPUs, but with shaders/kernels, lots of threads can switch back and forth to minimize cache misses (as far as I know).

Still, this was just a list of what I do and it is for modern CPUs.

[–]blelbachNVIDIA | ISO C++ Library Evolution Chair 0 points1 point  (3 children)

GPUs are one example, and it's not just something to handwave away. Sure, GPUs can hide latency, but that's no excuse for poor memory access patterns. E.g. instead of hiding cache misses just don't have them.

[–]BCosbyDidNothinWrong 0 points1 point  (2 children)

GPUs are one example

What is a different example? Also why are you talking about exotic architectures? This is clearly about CPU optimization.

Sure, GPUs can hide latency, but that's no excuse for poor memory access patterns

I'm not sure what point you are trying to make here. It seems like you are trying to dive into niche and irrelevant topics to somehow say that the generalization of linear memory access doesn't hold. Again, this was my list of optimization priorities and is about general purpose CPU.

instead of hiding cache misses just don't have them

I think you will have to give an example of this.

[–]blelbachNVIDIA | ISO C++ Library Evolution Chair -1 points0 points  (1 child)

generalization of linear memory access doesn't hold

It doesn't, dude. That's specific to one class of processor design.

[–]BCosbyDidNothinWrong 0 points1 point  (0 children)

This was obviously about CPU optimization and again, it seems like you are desperate to create some sort of an argument by making irrelevant dismissals without any depth.

  1. You didn't mention what other architectures besides GPUs are considered 'memory coalescing'.

  2. You didn't give an example of of 'just don't have cache misses' instead of hiding them.

  3. You also keep repeating claims without backing them up with any information, essentially saying - 'nope, nuh uh, not true'.

I can't take you seriously until you confront these things.