Announcement

Collapse
No announcement yet.

NVIDIA Publishes Open-Source Stream Library

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • NVIDIA Publishes Open-Source Stream Library

    Phoronix: NVIDIA Publishes Open-Source Stream Library

    A NVIDIA engineer has code dropped over 2,500 lines of new open-source code that enables application-level support for host1x hardware through a new Stream library...

    http://www.phoronix.com/vr.php?view=MTM1MDQ

  • #2
    I'm, needless to say, pretty impressed.

    Comment


    • #3
      Awesome. Thank you, Nvidia!

      Comment


      • #4
        Yea, makes me wonder what they are up to. Things like that are highly uncharacteristic of NVIDIA...

        Comment


        • #5
          Originally posted by GreatEmerald View Post
          Yea, makes me wonder what they are up to. Things like that are highly uncharacteristic of NVIDIA...
          I wouldnt jump that far, its not uncharacteristic since they said they were gonna be doing open source work for Tegra. Its just a new strategy, they probably couldnt do it on the desktop due to 3rd party IP

          Comment


          • #6
            Originally posted by Ericg View Post
            I wouldnt jump that far, its not uncharacteristic since they said they were gonna be doing open source work for Tegra. Its just a new strategy, they probably couldnt do it on the desktop due to 3rd party IP
            this

            they were always quite cooperative as far as mobo chipsets and the Tegra platform in whole was concerned

            if anything, it shows that if they want to they can release code, they just don't want to for their GPUs

            Comment


            • #7
              Sure, but they're uncooperative when it comes to everything else. Not even only on Linux - look at PhysX, or the fact that they deliberately cripple GPGPU capabilities of their cards in favour of Tesla. So the different attitude towards Tegra is what strikes me as odd. Not that I'm complaining, though.

              Comment


              • #8
                Since when wrapping and 5 lines functions constitutes a library?

                You might want to have a look at some of the code:
                http://lists.freedesktop.org/archive...il/037249.html

                This is mostly a wrapper that simplifies access to what should have been open and accessible in the first place. That is, this "library" (Seriously ?! ~2.5k lines is a library now ?!) while probably very useful (I wouldn't know), shouldn't be necessary in the first place.
                This is almost as bad as praising Microsoft for providing header files to their DLLs...

                Comment


                • #9
                  Originally posted by c117152 View Post
                  You might want to have a look at some of the code:
                  http://lists.freedesktop.org/archive...il/037249.html

                  This is mostly a wrapper that simplifies access to what should have been open and accessible in the first place. That is, this "library" (Seriously ?! ~2.5k lines is a library now ?!) while probably very useful (I wouldn't know), shouldn't be necessary in the first place.
                  This is almost as bad as praising Microsoft for providing header files to their DLLs...
                  This ^^

                  I LOL'ed

                  Comment


                  • #10
                    Originally posted by c117152 View Post
                    You might want to have a look at some of the code:
                    http://lists.freedesktop.org/archive...il/037249.html

                    This is mostly a wrapper that simplifies access to what should have been open and accessible in the first place. That is, this "library" (Seriously ?! ~2.5k lines is a library now ?!) while probably very useful (I wouldn't know), shouldn't be necessary in the first place.
                    This is almost as bad as praising Microsoft for providing header files to their DLLs...
                    You could argue that C and a C compiler is just a wrapper for assembly... Extreme case, yes, but my point is: A library is anything that wraps around something else with the goal of making it easier to access / do. The fact this library just simplifies access and functions isn't something to be understated. Its still helpful, its still doing a job. And, SERIOUSLY?! who cares about the size? So what if its only 2.5k?

                    Comment


                    • #11
                      Originally posted by Ericg View Post
                      You could argue that C and a C compiler is just a wrapper for assembly... Extreme case, yes, but my point is: A library is anything that wraps around something else with the goal of making it easier to access / do. The fact this library just simplifies access and functions isn't something to be understated. Its still helpful, its still doing a job. And, SERIOUSLY?! who cares about the size? So what if its only 2.5k?
                      I was being specific. Have you seen the code ?! It's push\pulls and initiators. It does handle timeouts and allocations and that's why I've said it looks useful, but where is the added value that differs a wrapper from a library ?!
                      Code like this is at best a poor substitute for documentations. In this case, we get what nvidia tells us is the right way to push data into the SoC. It hints the structs and handles the pointer magic for us. But, what you end up doing is hoping nvidia isn't hiding another subset of commands for her "business partners".
                      For instance, some functions they wrote handle uint32_t buffers. Does that mean they don't have a register that can handle other data types better ? Maybe some image\video decompression on the chip that will decrease my mem usage ? Of course not. What it does mean is that you're writing code to a hostile environment.

                      And it's not like it's all conjunctures and speculation. Nvidia's geforce drivers are often released with game-specific optimizations for big houses.

                      As long as there are closed source blobs in the kernel, You're a second class developer.

                      Comment

                      Working...
                      X