master ohmu/fastfetch-openbsd / src / detection / opencl / opencl.h
ohmu  ·  2026-10-15
 1#pragma once
 2
 3#include "fastfetch.h"
 4#include "modules/opencl/option.h"
 5
 6typedef struct FFOpenCLResult {
 7    FFstrbuf version;
 8    FFstrbuf name;
 9    FFstrbuf vendor;
10    FFlist gpus; // List of FFGPUResult, see detection/gpu/gpu.h
11    const char* error;
12} FFOpenCLResult;
13
14FFOpenCLResult* ffDetectOpenCL();