11 Commits

Author SHA1 Message Date
Dr-Noob
b29b17d14f [v0.30] Add support for AMD GPUs
Adds very basic support for AMD (experimental). The only install
requirement is ROCm. Unlike NVIDIA, we don't need the CUDA equivalent
(HIP) to make gpufetch work, which reduces the installation
requirements quite significantly.

Major changes:

* CMakeLists:
  - Make CUDA not compiled by default (since we now may want to target
    AMD only)
  - Set build flags on gpufetch cmake target instead of doing
    "set(CMAKE_CXX_FLAGS". This fixes a warning coming from ROCm.
  - Assumes that the ROCm CMake files are installed (should be fixed
    later)

* hsa folder: AMD support is implemented via HSA (Heterogeneous System
  Architecture) calls. Therefore, HSA is added as a new backend to
  gpufetch. We only print basic stuff for now, so we may need more
  things in the future to give full support for AMD GPUs.

NOTE: This commit will probably break AUR packages since we used to
build CUDA by default, which is no longer the case. The AUR package
should be updated and use -DENABLE_CUDA_BACKEND or -DENABLE_HSA_BACKEND
as appropriate.
2025-10-12 12:34:56 +02:00
Dr-Noob
9837236c7e [v0.25] Fixed some details in README and build.sh 2022-12-03 14:46:48 +00:00
Dr-Noob
59df3e53ec [v0.23] Fix README text. It is written following a C style, but actually written in C++ because of CUDA 2022-01-23 10:57:02 +01:00
Dr-Noob
7f7e70bc5d [v0.22] Add Gen11 and Gen12 Intel iGPUs (needs more work) 2021-12-28 18:34:56 +01:00
Dr-Noob
4883bf1ab3 [v0.20] Update README to show Intel iGPU support. Add instructions 2021-12-21 18:32:11 +01:00
Dr-Noob
3502f48f71 [v0.11] Style adjustments in README 2021-11-25 18:06:00 +01:00
Dr-Noob
5acb4ff7dc [v0.11] Small style adjustments in README 2021-11-25 18:01:57 +01:00
Dr-Noob
81607151dc [v0.10] Update build script and README 2021-09-04 16:02:50 +02:00
Dr-Noob
6b2fa05870 [v0.06] Fix README link and remove unused CMake files 2021-08-17 10:40:33 +02:00
Dr-Noob
1887a43954 [v0.06] Add README and contributing guidelines 2021-08-17 10:27:26 +02:00
Dr-Noob
5e6c3cb965 [v0.01] Initialize repository reusing stuff from cpufetch 2021-08-10 16:54:25 +02:00