ZLUDA/ext/llvm-sys.rs/src/support.rs
Andrzej Janik 1b9ba2b233 Nobody expects the Red Team
Too many changes to list, but broadly:
* Remove Intel GPU support from the compiler
* Add AMD GPU support to the compiler
* Remove Intel GPU host code
* Add AMD GPU host code
* More device instructions. From 40 to 68
* More host functions. From 48 to 184
* Add proof of concept implementation of OptiX framework
* Add minimal support of cuDNN, cuBLAS, cuSPARSE, cuFFT, NCCL, NVML
* Improve ZLUDA launcher for Windows
2024-02-11 20:45:51 +01:00

23 lines
827 B
Rust
Vendored

use super::prelude::*;
extern "C" {
pub fn LLVMLoadLibraryPermanently(Filename: *const ::libc::c_char) -> LLVMBool;
pub fn LLVMParseCommandLineOptions(
argc: ::libc::c_int,
argv: *const *const ::libc::c_char,
Overview: *const ::libc::c_char,
);
/// Search all previously loaded dynamic libraries for the named symbol.
///
/// Returns its address if found, otherwise null.
///
/// Added in LLVM 3.7.
pub fn LLVMSearchForAddressOfSymbol(symbolName: *const ::libc::c_char) -> *mut ::libc::c_void;
/// Permanently add the named symbol with the provided value.
///
/// Symbols added this way are searched before any libraries.
///
/// Added in LLVM 3.7.
pub fn LLVMAddSymbol(symbolName: *const ::libc::c_char, symbolValue: *mut ::libc::c_void);
}