Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Conversation

@xtofl
Copy link

@xtofl xtofl commented Mar 7, 2016

No description provided.

@brycelelbach brycelelbach self-requested a review October 23, 2017 19:42
Copy link
Collaborator

@brycelelbach brycelelbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Should be easy to integrate to Thrust 1.9.x.

}
std::generate(points.begin(), points.end(), [&] {
auto x = u01(rng);
auto y = u01(rng);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's avoid auto here, we're not requiring C++11 yet.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're not requiring C++11, we can't use this lambda either, can we?

@brycelelbach
Copy link
Collaborator

This was closed when we pushed the new Git master history to GitHub. Please rebase onto the new master and we'll take a look.

@xtofl
Copy link
Author

xtofl commented Mar 1, 2019

That was easy. Rebased/pushed.

@xtofl
Copy link
Author

xtofl commented Dec 17, 2019

Is something happening to this pull request? Should I close it?

@brycelelbach
Copy link
Collaborator

brycelelbach commented Dec 17, 2019 via email

@xtofl
Copy link
Author

xtofl commented Dec 18, 2019

No problem. It is, after all, only a tiny first step in pouring 'modern C++' over the thrust examples.

I think it's part of a bigger effort to take on the whole example code. To me, it's important that examples breath good style, so that when I point people at them, they fullful a larger educational purpose than just showcasing the library. I'll make an Issue (#1041) out of that, as to formalize it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants