From 621fda5c9ea86b44a2828a1a2b69c351e9fa57c3 Mon Sep 17 00:00:00 2001 From: Nalin Date: Wed, 22 Feb 2023 10:12:13 -0800 Subject: [PATCH] Feature to enable Neptune GPU Poseidon (#141) * enable neptune gpu hashing * Disable clippy on GPU --- .github/workflows/rust.yml | 2 +- Cargo.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 31ac63a..7ad2b8f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -30,5 +30,5 @@ jobs: - name: Check Rustfmt Code Style run: cargo fmt --all -- --check - name: Check clippy warnings - run: cargo clippy --all-targets --all-features -- -D warnings + run: cargo clippy --all-targets -- -D warnings diff --git a/Cargo.toml b/Cargo.toml index db31ee4..9639929 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -51,3 +51,5 @@ harness = false [features] default = [] +cuda = ["neptune/cuda", "neptune/pasta", "neptune/arity24"] +opencl = ["neptune/opencl", "neptune/pasta", "neptune/arity24"]