• deegeese@sopuli.xyz
    link
    fedilink
    arrow-up
    17
    ·
    edit-2
    4 months ago

    GPU code is more amenable to high clock speeds because it doesn’t have the branch prediction and data prefetch problems of general purpose CPU code.

    Intel stopped chasing clock speed because it required them to make their pipelines extremely long and extremely vulnerable to a cache miss.

    • Dudewitbow@lemmy.zip
      cake
      link
      fedilink
      arrow-up
      10
      ·
      edit-2
      4 months ago

      also to bring a rudamentary comparison:

      a cpu is a few very complicated cores, a gpu is thousands of dumb cores.

      its easier to make something doing something low in instructions(gpu) faster than something that has a shit ton of instructions(cpu) due to like you mention, branch prediction.

      modern cpu performance gains is focusing more on paralellism and in the case of efficiency cores, scheduling to optimize for performance.

      GPU wise, its really something as simple as GPUs are typically memory bottlenecked. memory bandwidth (memory speed x bus width with a few caveats with cache lowering requirements based on hits) its the major indicator on GPU performance. bus width is fixed on a hardware chip design, so the simpilist method to increase general performance is clocks.