mirror of
https://github.com/luxfi/node.git
synced 2026-10-30 15:24:05 +00:00
chains/cpp/core and quantumvm asked for LUX_GPU_DIR and stopped with a fatal error when nothing set it, so the public P, X and Q builds could not configure at all for anyone outside this machine. The seam is an ABI of four symbols over a complete CPU backend, not a kernel, so it belongs beside the chains defined over it; the kernels stay private in lux-gpu/gpu and are still only ever dlopen'd. The D and F ports move with it, to lux-cpp/chains and lux-rs/chains, both public. luxfi/compute held nothing its licence did not already cover, being the same BSD-3-Clause as this repository's. Co-authored-by: Hanzo Dev <[email protected]>
28 lines
820 B
TOML
28 lines
820 B
TOML
# SPDX-License-Identifier: BSD-3-Clause-Eco
|
|
# Copyright (C) 2019-2026, Lux Industries Inc. All rights reserved.
|
|
|
|
[package]
|
|
name = "lux-gpu"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "The one place a Lux chain asks for a primitive: a complete CPU backend, and an optional plugin that answers the same question faster."
|
|
license = "BSD-3-Clause-Eco"
|
|
repository = "https://github.com/luxfi/node"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "lux_gpu"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
# The CPU backend. These are the same crates the chains named before this
|
|
# crate existed; moving them here is what makes one implementation of each
|
|
# primitive instead of one per chain.
|
|
sha2 = "0.10"
|
|
sha3 = "0.10"
|
|
ripemd = "0.1"
|
|
k256 = { version = "0.13", default-features = false, features = ["ecdsa", "std"] }
|
|
|
|
[dev-dependencies]
|
|
hex = "0.4"
|