[HN Gopher] MatX: Efficient C++17 GPU numerical computing librar...
       ___________________________________________________________________
        
       MatX: Efficient C++17 GPU numerical computing library with Python-
       like syntax
        
       Author : cl3misch
       Score  : 26 points
       Date   : 2023-10-03 19:20 UTC (3 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | nologic01 wrote:
       | I would'nt touch nvidia "goodies" with a barge pole. Perfectly
       | good 5-year GPU deprecated upon upgrade to ubuntu 22.04 because
       | of cuda/drivers. The lock-in trap of the century.
        
       | cburdick13 wrote:
       | Hi all, I'm one of the maintainers of MatX. I didn't expect it to
       | hit HN this soon, but happy to answer any questions.
        
       | 26fingies wrote:
       | very nice but i assume it's going to be limited to cuda as a
       | backend because nvidia
        
         | cburdick13 wrote:
         | Currently we support both CUDA and CPU to some extent. CPU is
         | done through standard C++ (and soon stdpar). Obviously standard
         | C++ is problematic since it doesn't include everything we
         | support (FFTs, matrix multiplies, etc). One option is to use
         | open-source libraries that do these, but then it ends up being
         | a lot of dependencies that are hard to manage. We have plans to
         | improve CPU support soon, so stay tuned.
        
         | __loam wrote:
         | I don't actually know a lot about massively parallel libraries
         | like CUDA. Does AMD have an equivalent technology associate
         | with their GPUs? It feels like it should be fairly
         | straightforward to create some kind of high level library that
         | just uses CUDA or whatever AMD has on the back end.
        
           | cmovq wrote:
           | Traditionally OpenCL was the alternative to CUDA. Recently
           | AMD has been pushing their ROCm platform.
        
         | pjmlp wrote:
         | Others are free to provide proper C++ support on their GPUs.
        
           | SpaceNoodled wrote:
           | They're also free to write math libraries that don't depend
           | on GPUs.
        
             | cburdick13 wrote:
             | Hi, MatX currently has partial support for CPUs too. Please
             | see this comment:
             | 
             | https://news.ycombinator.com/item?id=37758635
        
       ___________________________________________________________________
       (page generated 2023-10-03 23:00 UTC)