Files
fastfetch/src/detection/gpu/gpu.h
T

23 lines
397 B
C
Raw Normal View History

2022-09-05 17:42:42 +02:00
#pragma once
#ifndef FF_INCLUDED_detection_gpu_gpu
#define FF_INCLUDED_detection_gpu_gpu
#include "fastfetch.h"
#define FF_GPU_TEMP_UNSET (0/0.0)
2022-09-16 18:11:39 +08:00
#define FF_GPU_CORE_COUNT_UNSET -1
2022-09-05 17:42:42 +02:00
typedef struct FFGPUResult
{
FFstrbuf vendor;
FFstrbuf name;
FFstrbuf driver;
double temperature;
2022-09-16 18:11:39 +08:00
int coreCount;
2022-09-05 17:42:42 +02:00
} FFGPUResult;
const FFlist* ffDetectGPU(const FFinstance* instance);
#endif