Skip to content

pygpu/tests: Skip tests that require CUDA context if the context is not CUDA - #571

Merged
abergeron merged 1 commit into
Theano:masterfrom
jvesely:cuda_test
Apr 23, 2018
Merged

pygpu/tests: Skip tests that require CUDA context if the context is not CUDA#571
abergeron merged 1 commit into
Theano:masterfrom
jvesely:cuda_test

Conversation

@jvesely

@jvesely jvesely commented Apr 5, 2018

Copy link
Copy Markdown
Contributor

Fixes #491
Signed-off-by: Jan Vesely jan.vesely@rutgers.edu

@jvesely

jvesely commented Apr 17, 2018

Copy link
Copy Markdown
Contributor Author

@nouiz, are you interested in bug fixes?

@abergeron

Copy link
Copy Markdown
Member

Yes we are, however I would fix this differently. The only part of those tests that require a cuda context is the .gpudata access. You could make that part conditional on the context kind and the rest should pass.

Fixes Theano#491
v2: Do not skip the entire test
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
@nouiz

nouiz commented Apr 23, 2018

Copy link
Copy Markdown
Member

@abergeron this PR was updated. Can you review it again?
@jvesely when you update a commit and force push, this do not send a notification. So if you can make comment, it will make us see the change faster.

@jvesely

jvesely commented Apr 23, 2018

Copy link
Copy Markdown
Contributor Author

thanks. I didn't know new commits were silent.

@abergeron
abergeron merged commit f036aef into Theano:master Apr 23, 2018
@jvesely
jvesely deleted the cuda_test branch April 24, 2018 15:29
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