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

Add theano.gpuarray.use similar to theano.sandbox.cuda.use() to manua… #5407

Merged
merged 3 commits into from Jan 14, 2017

Conversation

nouiz
Copy link
Member

@nouiz nouiz commented Jan 13, 2017

…lly enable it.

def use(device,
force=False,
default_to_move_computation_to_gpu=True,
move_shared_float32_to_gpu=True):
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't only move float32

move_shared_float32_to_gpu=True):
if device:
init_dev(device)
elif forece:
Copy link
Member

Choose a reason for hiding this comment

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

forece -> force

@nouiz
Copy link
Member Author

nouiz commented Jan 13, 2017

jenkins test this

@nouiz nouiz merged commit 1d1fe68 into Theano:master Jan 14, 2017
@nouiz nouiz deleted the gpuarray_use branch January 14, 2017 02:57
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.

None yet

2 participants