-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wip] Gpu rebase inprog #107
Conversation
split out processing into a separate thread closer wip update wip update ffi wip wip wip wip update wip wip wip wip builds! update s/packet_size/packet_data_size/g wip s/packet_size/packet_data_size dont sigverify tx as well split sig and plan verify update update update build update 256 packet limit per batch try sending less then 256 to process
@@ -0,0 +1,8 @@ | |||
fn main() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if the user doesn't have cuda libs installed or doesn't want to install them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like we can have something like: if !env::var("CARGO_CFG_CUDA").is_err() { prints... }
if we have a cfg like this:
#[cfg(cuda)] => CARGO_CFG_CUDA
@@ -47,7 +47,7 @@ impl Event { | |||
/// spending plan is valid. | |||
pub fn verify(&self) -> bool { | |||
match *self { | |||
Event::Transaction(ref tr) => tr.verify(), | |||
Event::Transaction(ref tr) => tr.plan_verify(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should not have needed to make this change. I took verify() out of skel's codepath.
@@ -11,7 +11,7 @@ use std::sync::atomic::AtomicBool; | |||
use std::sync::{Arc, Mutex}; | |||
|
|||
fn main() { | |||
let addr = "127.0.0.1:8000"; | |||
let addr = "127.0.0.1:9000"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No thanks!
@@ -8,12 +8,17 @@ use rayon::prelude::*; | |||
use signature::{KeyPair, KeyPairUtil, PublicKey, Signature, SignatureUtil}; | |||
|
|||
#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone)] | |||
pub struct Transaction { | |||
pub struct Signed { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last review asked that you change this to TransactionData and that you remove 'from' from it.
ugh, a separate PR for a rebase? This throws away all the comments I made on the previous one. |
Bumps [react-bootstrap](https://github.com/react-bootstrap/react-bootstrap) from 1.0.0 to 1.1.1. - [Release notes](https://github.com/react-bootstrap/react-bootstrap/releases) - [Changelog](https://github.com/react-bootstrap/react-bootstrap/blob/master/CHANGELOG.md) - [Commits](react-bootstrap/react-bootstrap@v1.0.0...v1.1.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
need some help with the borrow checker :)