mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-31 18:13:38 +01:00
09f3bd5a79
Don't cheat
23 lines
397 B
C
23 lines
397 B
C
#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)
|
|
#define FF_GPU_CORE_COUNT_UNSET -1
|
|
|
|
typedef struct FFGPUResult
|
|
{
|
|
FFstrbuf vendor;
|
|
FFstrbuf name;
|
|
FFstrbuf driver;
|
|
double temperature;
|
|
int coreCount;
|
|
} FFGPUResult;
|
|
|
|
const FFlist* ffDetectGPU(const FFinstance* instance);
|
|
|
|
#endif
|