cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

berathebrain
Journeyman III

Allocation fails on NLMeans example

<!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-formatther; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} p {mso-style-noshow:yes; mso-style-priority:99; mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman","serif"; mso-fareast-font-family:"Times New Roman";} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} -->

Hi everyone. I'm having a bit of a problem. When I try to run example code NLMeans on some larger pictures than the one provided, I get Allocating errors or uninitialized input stream error. I don't know why is this happening. Has anybody tried this? I have ATI 2600XT, driver version 8.12, ATI Stream SDK 1.3-beta. If anyone could figure out the problem I would much appreciate it.

Thanks in advance.

0 Likes
3 Replies
gaurav_garg
Adept I

What is your image dimension. Maximum 2D dimensions allowed in Brook+ is 8192 x 8192. Also, make sure you have enough memory in your card that allows big images to reside on GPU memory.

If any of the case mentioned above, you can try processing your image tile-by-tile, take a look at out of core MMM example shipped with SDK.

0 Likes

My image dimesnions are 2272x1704. I have 256MB on my video card. I bet that if I port this code to brook that it would run fine. Also when are they gonna put back the openGL and DrectX9 backend? I'm seriously thinking of using the brook compiler instead of brook+ and AMD CAL.

0 Likes

Could you check error and errorLog on input streams of kernel, it can help diagnose the error (uninitialized input stream).

0 Likes