You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
339 B
C
14 lines
339 B
C
#pragma once
|
|
#ifndef MANGOHUD_NVIDIA_INFO_H
|
|
#define MANGOHUD_NVIDIA_INFO_H
|
|
|
|
#include <nvml.h>
|
|
#include "overlay_params.h"
|
|
|
|
extern bool nvmlSuccess;
|
|
|
|
bool checkNVML(const char* pciBusId, nvmlDevice_t& device, uint32_t& device_id);
|
|
bool getNVMLInfo(nvmlDevice_t device, const struct overlay_params& params);
|
|
|
|
#endif //MANGOHUD_NVIDIA_INFO_H
|