{"action":"created","issue":{"url":"https://api.github.com/repos/StephanPreibisch/FourierConvolutionCUDALib/issues/19","repository_url":"https://api.github.com/repos/StephanPreibisch/FourierConvolutionCUDALib","labels_url":"https://api.github.com/repos/StephanPreibisch/FourierConvolutionCUDALib/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/StephanPreibisch/FourierConvolutionCUDALib/issues/19/comments","events_url":"https://api.github.com/repos/StephanPreibisch/FourierConvolutionCUDALib/issues/19/events","html_url":"https://github.com/StephanPreibisch/FourierConvolutionCUDALib/issues/19","id":185607863,"number":19,"title":"Unable to deconvolve 512x512x512 image","user":{"login":"RichardMyers","id":4415803,"avatar_url":"https://avatars.githubusercontent.com/u/4415803?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardMyers","html_url":"https://github.com/RichardMyers","followers_url":"https://api.github.com/users/RichardMyers/followers","following_url":"https://api.github.com/users/RichardMyers/following{/other_user}","gists_url":"https://api.github.com/users/RichardMyers/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardMyers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardMyers/subscriptions","organizations_url":"https://api.github.com/users/RichardMyers/orgs","repos_url":"https://api.github.com/users/RichardMyers/repos","events_url":"https://api.github.com/users/RichardMyers/events{/privacy}","received_events_url":"https://api.github.com/users/RichardMyers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-27T08:46:16Z","updated_at":"2016-10-27T08:49:18Z","closed_at":null,"body":"moved from #18 \r\n\r\nI tested your branch on a bead image in Fiji with regions from 32x32x32 up to 256x256 worked but 384x384 and 512x512 failed with memory error:\r\n\r\nException in thread \"Thread-30\" java.lang.Error: Invalid memory access\r\n    at com.sun.jna.Native.invokeVoid(Native Method)\r\n    at com.sun.jna.Function.invoke(Function.java:374)\r\n    at com.sun.jna.Function.invoke(Function.java:323)\r\n    at com.sun.jna.Library$Handler.invoke(Library.java:236)\r\n    at com.sun.proxy.$Proxy11.convolution3DfftCUDAInPlace(Unknown Source)\r\n    at spim.process.fusion.deconvolution.MVDeconFFTThreads.convolve1BlockCUDA(MVDeconFFTThreads.java:65)\r\n    at spim.process.fusion.deconvolution.MVDeconFFT.convolve1(MVDeconFFT.java:420)\r\n    at spim.process.fusion.deconvolution.MVDeconvolution.runIteration(MVDeconvolution.java:362)\r\n    at spim.process.fusion.deconvolution.MVDeconvolution.runIteration(MVDeconvolution.java:330)\r\n    at spim.process.fusion.deconvolution.MVDeconvolution.<init>(MVDeconvolution.java:177)\r\n    at spim.process.fusion.deconvolution.EfficientBayesianBased.fuseData(EfficientBayesianBased.java:259)\r\n    at spim.fiji.plugin.Image_Fusion.fuse(Image_Fusion.java:173)\r\n    at spim.fiji.plugin.Image_Fusion.fuse(Image_Fusion.java:88)\r\n    at spim.fiji.spimdata.explorer.popup.FusionPopup$MyActionListener$1.run(FusionPopup.java:57)\r\n    at java.lang.Thread.run(Thread.java:745)\r\n\r\nI'm testing on a Quadro K2200 (mem=4096, cuda capability = 5.0)\r\n\r\nI think this memory issue is a known constraint. If not, let me know and I can start a case for it.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/StephanPreibisch/FourierConvolutionCUDALib/issues/comments/256584018","html_url":"https://github.com/StephanPreibisch/FourierConvolutionCUDALib/issues/19#issuecomment-256584018","issue_url":"https://api.github.com/repos/StephanPreibisch/FourierConvolutionCUDALib/issues/19","id":256584018,"user":{"login":"RichardMyers","id":4415803,"avatar_url":"https://avatars.githubusercontent.com/u/4415803?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardMyers","html_url":"https://github.com/RichardMyers","followers_url":"https://api.github.com/users/RichardMyers/followers","following_url":"https://api.github.com/users/RichardMyers/following{/other_user}","gists_url":"https://api.github.com/users/RichardMyers/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardMyers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardMyers/subscriptions","organizations_url":"https://api.github.com/users/RichardMyers/orgs","repos_url":"https://api.github.com/users/RichardMyers/repos","events_url":"https://api.github.com/users/RichardMyers/events{/privacy}","received_events_url":"https://api.github.com/users/RichardMyers/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T08:49:18Z","updated_at":"2016-10-27T08:49:18Z","body":"I ran this on a different system with larger specs.  This system is running with a Quadro M4000 (mem=8192MB and CUDA capability 5.2)\r\n\r\nI was able to run a version of test_gpu_memory_reach here and this was the result:\r\n\r\nRunning 4 test cases...\r\nC:/Users/Richard/Documents/GitHub/FourierConvolutionCUDALib/tests/test_gpu_memory_reach.cpp(194): fatal error in \"identity_convolve_512\": failed due to CUFFT_ALLOC_FAILED in C:/Users/Richard/Documents/GitHub/FourierConvolutionCUDALib/src/convolution3Dfft.cu at line 509\r\n\r\n do not use convolution3DfftCUDAInPlace on this GPU with shapes larger than (x,y,z) = 512x512x512"}}
{"actor":{"display_login":"RichardMyers"}}