Drop cudart.

This commit is contained in:
Seunghoon Lee 2024-07-11 14:52:36 +09:00
parent 53b51ddd55
commit d23b3f4636
No known key found for this signature in database
GPG key ID: 436E38F4E70BD152
7 changed files with 0 additions and 10401 deletions

8
Cargo.lock generated
View file

@ -2561,14 +2561,6 @@ dependencies = [
"hiprtc-sys",
]
[[package]]
name = "zluda_runtime"
version = "0.0.0"
dependencies = [
"hip_common",
"hip_runtime-sys",
]
[[package]]
name = "zluda_sparse"
version = "0.0.0"

View file

@ -41,7 +41,6 @@ members = [
"zluda_redirect",
"zluda_rt",
"zluda_rtc",
"zluda_runtime",
"zluda_sparse",
]

View file

@ -1,17 +0,0 @@
[package]
name = "zluda_runtime"
version = "0.0.0"
authors = ["Seunghoon Lee <op@lsh.sh>"]
edition = "2018"
[lib]
name = "cudart"
crate-type = ["cdylib"]
[dependencies]
hip_common = { path = "../hip_common" }
hip_runtime-sys = { path = "../hip_runtime-sys" }
[package.metadata.zluda]
linux_names = ["libcudart.so.10", "libcudart.so.11"]
dump_names = ["libcudart.so"]

View file

@ -1,3 +0,0 @@
bindgen \\wsl.localhost\Ubuntu-22.04\usr\include\cuda_runtime.h -o src/cudart.rs --allowlist-function="^cuda.*" --allowlist-type="cu.*" --default-enum-style=newtype --no-layout-tests --no-derive-debug -- -I\\wsl.localhost\Ubuntu-22.04\usr\include
sed -i -e 's/extern "C" {//g' -e 's/-> cudaError_t;/-> cudaError_t { crate::unsupported()/g' -e 's/pub fn /#[no_mangle] pub extern "system" fn /g' src/cudart.rs
rustfmt src/cudart.rs

File diff suppressed because one or more lines are too long

View file

@ -1,18 +0,0 @@
#[no_mangle]
pub extern "system" fn cudaProfilerInitialize(
configFile: *const ::std::os::raw::c_char,
outputFile: *const ::std::os::raw::c_char,
outputMode: cudaOutputMode_t,
) -> cudaError_t {
crate::unsupported()
}
#[no_mangle]
pub extern "system" fn cudaProfilerStart() -> cudaError_t {
crate::unsupported()
}
#[no_mangle]
pub extern "system" fn cudaProfilerStop() -> cudaError_t {
crate::unsupported()
}

File diff suppressed because it is too large Load diff