Announcement

Collapse
No announcement yet.

HCC Wants To Make It Easy To Run C11 Code On GPUs

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

  • HCC Wants To Make It Easy To Run C11 Code On GPUs

    Phoronix: HCC Wants To Make It Easy To Run C11 Code On GPUs

    The Hero C Compiler "HCC" wants to make it easy to compile C code to run on GPUs by compiling common C11 code and turning it into SPIR-V modules that can then be consumed by GPUs with Vulkan support...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    I love projects like these will have to keep an eye on it

    Comment


    • #3
      the idea is right. I coded shaders in Metal on Mac OS so there there shader language is almost C++ what is super brain saving

      Comment


      • #4
        Getting C code to be performant on a GPU might be hard unless it supports extensions to C like OpenMP or GNU C’s vector extension to get explicit information for vectorization.

        That said, you can already compile C code to SPIR-V using LLVM:

        Comment

        Working...
        X