This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/node-llama-cpp/llama/addon/globals/getGpuInfo.h
T

12 lines
397 B
C++

#pragma once
#include <utility>
#include <string>
#include "napi.h"
#include "llama.h"
Napi::Value getGpuVramInfo(const Napi::CallbackInfo& info);
Napi::Value getGpuDeviceInfo(const Napi::CallbackInfo& info);
std::pair<ggml_backend_dev_t, std::string> getGpuDevice();
Napi::Value getGpuType(const Napi::CallbackInfo& info);
Napi::Value ensureGpuDeviceIsSupported(const Napi::CallbackInfo& info);