cuda-core 0.3.1

Idiomatic CUDA API.
# 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 = "2021"
rust-version = "1.89"
name = "cuda-core"
version = "0.3.1"
authors = ["Melih Elibol"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Idiomatic CUDA API."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/nvlabs/cutile-rs"

[features]
f16 = []

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

[[test]]
name = "borrow_raw"
path = "tests/borrow_raw.rs"

[[test]]
name = "simt_context_limits"
path = "tests/simt_context_limits.rs"

[[test]]
name = "simt_context_sync_policy"
path = "tests/simt_context_sync_policy.rs"

[[test]]
name = "simt_device_buffer"
path = "tests/simt_device_buffer.rs"

[[test]]
name = "simt_device_buffer_leaks"
path = "tests/simt_device_buffer_leaks.rs"

[[test]]
name = "simt_device_copy_derive"
path = "tests/simt_device_copy_derive.rs"

[[test]]
name = "simt_device_copy_impls"
path = "tests/simt_device_copy_impls.rs"

[[test]]
name = "simt_launch_contract_types"
path = "tests/simt_launch_contract_types.rs"

[[test]]
name = "simt_pinned_host_buffer"
path = "tests/simt_pinned_host_buffer.rs"

[[test]]
name = "simt_stream_priority"
path = "tests/simt_stream_priority.rs"

[[test]]
name = "simt_stream_query"
path = "tests/simt_stream_query.rs"

[[test]]
name = "simt_vmm_multicast"
path = "tests/simt_vmm_multicast.rs"

[[test]]
name = "simt_vmm_p2p"
path = "tests/simt_vmm_p2p.rs"

[[test]]
name = "vmm"
path = "tests/vmm.rs"

[[test]]
name = "vmm_multicast"
path = "tests/vmm_multicast.rs"

[dependencies.anyhow]
version = "1"

[dependencies.cuda-bindings]
version = "0.3.1"

[dependencies.cuda-core-derive]
version = "0.3"

[dependencies.half]
version = "2"

[dependencies.oxide-artifacts]
version = "0.2.1"
features = ["object-read"]

[dev-dependencies.trybuild]
version = "1"

[lints.clippy]
large_enum_variant = "allow"
missing_safety_doc = "allow"
needless_range_loop = "allow"
single_range_in_vec_init = "allow"
too_many_arguments = "allow"
type_complexity = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]