gpu-kernel 0.1.0

Compile and run Rust on GPUs easily
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "gpu-kernel"
version = "0.1.0"
authors = ["Flakebi <flakebi@t-online.de>"]
build = false
include = [
    "/src",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compile and run Rust on GPUs easily"
readme = "README.md"
keywords = [
    "amdgpu",
    "gpu",
]
categories = ["hardware-support"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Flakebi/amdgpu-rs/tree/main/gpu-kernel"

[features]
amd = [
    "dep:hip-runtime-sys",
    "dep:amdgpu-device-libs",
    "gpu-kernel-proc-macros/amd",
]
amd-allocator = ["amd"]
default = [
    "amd",
    "amd-allocator",
]

[lib]
name = "gpu_kernel"
path = "src/lib.rs"

[dependencies.gpu-kernel-proc-macros]
version = "0.1"

[target.'cfg(not(any(target_arch = "amdgpu", target_arch = "nvptx64")))'.dependencies.hip-runtime-sys]
version = "0.1"
optional = true

[target.'cfg(target_arch = "amdgpu")'.dependencies.amdgpu-device-libs]
version = "0.2"
optional = true