mirror of
https://github.com/pseXperiments/cuda-sumcheck.git
synced 2026-01-09 20:37:55 -05:00
Add Makefile and silence warnins due to bindgen
This commit is contained in:
22
sumcheck/Makefile
Normal file
22
sumcheck/Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
CARGO = cargo
|
||||
|
||||
all: build doc
|
||||
|
||||
build:
|
||||
@$(CARGO) build --release
|
||||
|
||||
doc:
|
||||
@$(CARGO) doc
|
||||
|
||||
check: build test
|
||||
|
||||
test:
|
||||
@$(CARGO) test --release
|
||||
|
||||
bench:
|
||||
@$(CARGO) bench
|
||||
|
||||
clean:
|
||||
@$(CARGO) clean
|
||||
|
||||
.PHONY: all build doc check test bench clean
|
||||
@@ -1,3 +1,6 @@
|
||||
// silence warnings due to bindgen
|
||||
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals)]
|
||||
|
||||
use cudarc::driver::{CudaDevice, DeviceRepr, DriverError, LaunchAsync, LaunchConfig};
|
||||
use cudarc::nvrtc::Ptx;
|
||||
use ff::PrimeField;
|
||||
|
||||
Reference in New Issue
Block a user