mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-04-22 01:18:54 +03:00

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
23 lines
827 B
Rust
Vendored
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);
|
|
}
|