mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 00:37:23 +01:00
e0eba8ce21
```bash find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) ! -path "src/3rdparty/*" -print0 | xargs -0 clang-format -i ```
15 lines
308 B
C
15 lines
308 B
C
#pragma once
|
|
|
|
#include "fastfetch.h"
|
|
#include "modules/opencl/option.h"
|
|
|
|
typedef struct FFOpenCLResult {
|
|
FFstrbuf version;
|
|
FFstrbuf name;
|
|
FFstrbuf vendor;
|
|
FFlist gpus; // List of FFGPUResult, see detection/gpu/gpu.h
|
|
const char* error;
|
|
} FFOpenCLResult;
|
|
|
|
FFOpenCLResult* ffDetectOpenCL();
|