[v0.01] Adding and creating basic source code base taken from cpufetch

This commit is contained in:
Dr-Noob
2021-08-11 10:12:27 +02:00
parent f824e3c4f2
commit 7b88845d71
9 changed files with 123 additions and 4 deletions

View File

@@ -4,6 +4,7 @@
#include "args.hpp"
#include "global.hpp"
#include "../cuda/cuda.hpp"
static const char* VERSION = "0.01";
@@ -47,5 +48,11 @@ int main(int argc, char* argv[]) {
return EXIT_SUCCESS;
}
struct gpu_info* gpu = get_gpu_info();
if(gpu == NULL)
return EXIT_FAILURE;
printf("Name: %s\n", gpu->name);
return EXIT_FAILURE;
}