AnswerDotAI / gpu.cpp

A lightweight library for portable low-level GPU computation using WebGPU.
https://gpucpp.answer.ai
Apache License 2.0
3.68k stars 175 forks source link

Some changes about the dynamic libraries generated by gpu.cpp project and header-only source code 'gpu.hpp' #64

Open buttfa opened 3 days ago

buttfa commented 3 days ago
feat: 1. Modified the 'lib' rule in the Makefile file located in the root directory of the project, allowing it to generate gpu.cpp dynamic libraries with different suffixes based on the system.
      2. By the build.py script, the header files in the gpu.hpp file are expanded in order to make gpu.hpp become true header-only source code.
      3. 'install' and 'uninstall' rules are provided for scientific researchers who do not care about how to package applications, enabling them to quickly utilize gpu.cpp for gpu computation.