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

2D Pooling on PyCudaHandler fails for big inputs #86

Closed
Qwlouse opened this issue Nov 5, 2015 · 0 comments
Closed

2D Pooling on PyCudaHandler fails for big inputs #86

Qwlouse opened this issue Nov 5, 2015 · 0 comments
Labels

Comments

@Qwlouse
Copy link
Collaborator

Qwlouse commented Nov 5, 2015

The error:

File ".../brainstorm/layers/pooling_layer_2d.py", line 89, in forward_pass
    flat_argmax)
  File ".../brainstorm/handlers/pycuda_handler.py", line 314, in maxpool2d_forward_batch
    grid=(NUM_CUDA_THREADS, 1, 1))
  File ".../lib/python3.4/site-packages/pycuda/driver.py", line 379, in function_call
    func._set_block_shape(*block)
pycuda._driver.LogicError: cuFuncSetBlockShape failed: invalid argument

How to reproduce: In the CIFAR-10 example change the number of maps in the first convolution to something bigger than 46 and uncomment the line with the handler to run it on GPU.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant