Skip to content

Conversation

@jakirkham
Copy link
Member

Makes a simple implementation of tobytes for CuPy arrays, which converts the data back into a NumPy array and let's NumPy do the heavy lifting.

@jakirkham jakirkham force-pushed the add_tobytes branch 6 times, most recently from 882cf73 to c369dbb Compare November 8, 2019 02:45
@kmaehashi kmaehashi added the cat:feature New features/APIs label Nov 8, 2019
@asi1024
Copy link
Member

asi1024 commented Nov 8, 2019

Thank you for the PR!
Jenkins, test this please.

@pfn-ci-bot
Copy link
Collaborator

Successfully created a job for commit c369dbb:

@asi1024 asi1024 added this to the v7.0.0 milestone Nov 8, 2019
Makes a simple implementation of `tobytes` for CuPy arrays, which
converts the data back into a NumPy array and let's NumPy do the heavy
lifting.


@testing.parameterize(
{'shape': (1,)},
Copy link
Member

Choose a reason for hiding this comment

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

Why did you fix this line?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because trying to do prod of () wasn't working. Didn't realize you had a utility for shaped_arange though. So could give it another try.

Copy link
Member Author

Choose a reason for hiding this comment

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

Have added () to the line before. Let's see how it goes 🙂

@chainer-ci
Copy link
Member

Jenkins CI test (for commit c369dbb, target branch master) failed with status FAILURE.

@jakirkham
Copy link
Member Author

Would it be possible to nudge Jenkins again? Think it is reporting for an old commit here.

@asi1024
Copy link
Member

asi1024 commented Nov 8, 2019

Jenkins, test this please.

@pfn-ci-bot
Copy link
Collaborator

Successfully created a job for commit 10c6c00:

@chainer-ci
Copy link
Member

Jenkins CI test (for commit 10c6c00, target branch master) succeeded!

@asi1024
Copy link
Member

asi1024 commented Nov 8, 2019

LGTM. Thank you for the PR!

@asi1024 asi1024 merged commit d03e074 into cupy:master Nov 8, 2019
@jakirkham
Copy link
Member Author

Thanks for the review! 😀

@jakirkham jakirkham deleted the add_tobytes branch November 8, 2019 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat:feature New features/APIs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants