1b9ba2b233
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
17 lines
506 B
TOML
17 lines
506 B
TOML
[tasks.bindgen]
|
|
command = "bindgen"
|
|
args = [
|
|
"include/hip_runtime_api.h",
|
|
"-o", "src/hip_runtime_api.rs",
|
|
"--rust-target", "1.64",
|
|
"--no-layout-tests",
|
|
"--no-derive-debug",
|
|
"--default-enum-style=newtype",
|
|
"--must-use-type", "hipError_t",
|
|
"--allowlist-function", "hip.*",
|
|
"--allowlist-type", "hip.*",
|
|
"--allowlist-var", "^hip.*$",
|
|
"--new-type-alias", "hipDeviceptr_t",
|
|
"--", "-I/opt/rocm/include", "-D__HIP_PLATFORM_AMD__",
|
|
"-IZ:/opt/rocm-5.7.2/include"
|
|
] |