19 lines
528 B
TypeScript
19 lines
528 B
TypeScript
import { BinaryPlatform } from "./getPlatform.js";
|
|
export declare function detectAvailableComputeLayers({ platform }?: {
|
|
platform?: BinaryPlatform;
|
|
}): Promise<{
|
|
cuda: {
|
|
hasNvidiaDriver: boolean;
|
|
hasCudaRuntime: boolean;
|
|
};
|
|
vulkan: boolean;
|
|
metal: boolean;
|
|
}>;
|
|
export declare function getCudaNvccPaths({ platform }?: {
|
|
platform?: BinaryPlatform;
|
|
}): Promise<{
|
|
nvccPath: string;
|
|
cudaHomePath: string;
|
|
}[]>;
|
|
export declare function getWindowsProgramFilesPaths(): Promise<string[]>;
|