{"action":"opened","issue":{"url":"https://api.github.com/repos/vlfeat/matconvnet/issues/471","repository_url":"https://api.github.com/repos/vlfeat/matconvnet","labels_url":"https://api.github.com/repos/vlfeat/matconvnet/issues/471/labels{/name}","comments_url":"https://api.github.com/repos/vlfeat/matconvnet/issues/471/comments","events_url":"https://api.github.com/repos/vlfeat/matconvnet/issues/471/events","html_url":"https://github.com/vlfeat/matconvnet/issues/471","id":142126493,"number":471,"title":"Does the input data matrix of vl_nnpool have a size limitation of its first two dimensions?","user":{"login":"qykshr","id":3017265,"avatar_url":"https://avatars.githubusercontent.com/u/3017265?v=3","gravatar_id":"","url":"https://api.github.com/users/qykshr","html_url":"https://github.com/qykshr","followers_url":"https://api.github.com/users/qykshr/followers","following_url":"https://api.github.com/users/qykshr/following{/other_user}","gists_url":"https://api.github.com/users/qykshr/gists{/gist_id}","starred_url":"https://api.github.com/users/qykshr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qykshr/subscriptions","organizations_url":"https://api.github.com/users/qykshr/orgs","repos_url":"https://api.github.com/users/qykshr/repos","events_url":"https://api.github.com/users/qykshr/events{/privacy}","received_events_url":"https://api.github.com/users/qykshr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-20T03:59:33Z","updated_at":"2016-03-20T03:59:33Z","closed_at":null,"body":"I am working with matconvnet 1.0 beta 10, cuda 6.5 (I also tested this function with cuda 7.5, it failed also). I use vl_nnpool() in the following way:\r\nxx=vl_nnpool(xx,poolingsize,'pad',0,'stride',2,'method','max'), where poolingsize=[3 3], xx has a size of 112*112*96*128;\r\nAn cuda error occurs when the first two dimensions of xx are larger than 106: \r\nnnpooling_forward: : cuda error [cuda: pooling_*_forward: invalid argument].\r\nHow to fix this problem?\r\nI hope the xx can be any size as long as the memory is sufficient."}}