summaryrefslogtreecommitdiffstats
path: root/src/detection/opencl/opencl.h
blob: d96eb50802962fc8a2b719d3c034713449b7fae2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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();