Skip to content
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

Closed
wants to merge 3 commits into from

Conversation

aeyakovenko
Copy link
Member

need some help with the borrow checker :)

sakridge and others added 2 commits April 4, 2018 07:55
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() {
Copy link
Contributor

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?

Copy link
Member

@sakridge sakridge Apr 4, 2018

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(),
Copy link
Contributor

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";
Copy link
Contributor

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 {
Copy link
Contributor

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.

@garious
Copy link
Contributor

garious commented Apr 4, 2018

ugh, a separate PR for a rebase? This throws away all the comments I made on the previous one.

@aeyakovenko aeyakovenko closed this Apr 4, 2018
vkomenda pushed a commit to vkomenda/solana that referenced this pull request Aug 29, 2021
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants