From 76424950e373d3b04ac3dd13019151bfba3e8423 Mon Sep 17 00:00:00 2001 From: sumuel Date: Mon, 17 Aug 2026 20:44:55 +0000 Subject: Add the files --- src/detection/opencl/opencl.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/detection/opencl/opencl.h (limited to 'src/detection/opencl/opencl.h') diff --git a/src/detection/opencl/opencl.h b/src/detection/opencl/opencl.h new file mode 100644 index 0000000..d96eb50 --- /dev/null +++ b/src/detection/opencl/opencl.h @@ -0,0 +1,14 @@ +#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(); -- cgit v1.2.3