‹ BackHN Continuity

Thread

Nvidia announces native GPU programming in Rust

970 points · 404 comments · nonmaskable

  1. loup-vaillant · · focus · HN ↗
    Okay, so, GPUs are taking one more step towards being general purpose massively parallel machines. That's cool.

    What would be even cooler though would be for GPU vendors to start giving us the user manual. An I mean the real user manual, that explains how to use their piece of metal when all you have is that piece of metal. That means a precise description of the wire protocols, the data format of the buffers we send to & get from the GPU, the ISA of the cores we have access to, the relevant performance characteristics…

    In other words, enough information to write a state-of-the-art driver for any OS. That would be cool.

    1. mathisfun123 · · focus · HN ↗
      > GPUs are taking one more step towards being general purpose massively parallel machines

      this has nothing to do with becoming more general purpose (GPUs will never be general purpose - it's literally physically impossible).

      1. loup-vaillant · · focus · HN ↗
        > GPUs will never be general purpose

        Well in that sense, neither will CPUs. Just like GPUs, some workloads are better left to other kinds of hardware.

        1. mathisfun123 · · focus · HN ↗
          i really don't think you know what you're talking about. this isn't about better or worse. there are many many many workloads a GPU cannot at all implement (hint: anything with branches).
          1. loup-vaillant · · focus · HN ↗
            Anything with branches cannot execute at all on a GPU? You sure about that?

            <a href="https:&#x2F;&#x2F;developer.nvidia.com&#x2F;gpugems&#x2F;gpugems2&#x2F;part-iv-general-purpose-computation-gpus-primer&#x2F;chapter-34-gpu-flow-control-idioms" rel="nofollow">https:&#x2F;&#x2F;developer.nvidia.com&#x2F;gpugems&#x2F;gpugems2&#x2F;part-iv-genera...

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.