Skip to content

Conversation

@albanD
Copy link
Collaborator

@albanD albanD commented Apr 10, 2018

fix for #6338 and tests

Copy link
Collaborator

@ssnl ssnl left a comment

Choose a reason for hiding this comment

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

Thanks Alban! Can you move the cuda part of the test to test_cuda.py? They can call the same staticmethod on TestTorch. :)

@albanD
Copy link
Collaborator Author

albanD commented Apr 10, 2018

Done,
I was wondering how to do this, but the test files are too long and I missed the staticmethods !

torch.cuda.nvtx.mark("bar")
torch.cuda.nvtx.range_pop()

def test_random_neg_values(self):

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

Copy link
Collaborator

@ssnl ssnl left a comment

Choose a reason for hiding this comment

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

Good to merge once CI passes

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants