<div dir="ltr">Hi all,<div><br></div><div><div>I have been trying to create a new filter for flat field image correction. I have implemented the same in normal mode (which works fine.) and was trying to write one in CUDA mode for the past week.</div><div><br></div><div>I had created 4 files in order to perform the Flat Field image correction filter as i followed the standard in GitHub : RTK Cuda files. </div><div><br></div><div>which includes :</div><div><br></div><div>    rtkCudaFlatFieldImageFilter.h </div><div><span class="" style="white-space:pre">        </span>: is a header file contains the declaration of various functions and data members</div><div><br></div><div>   rtkCudaFlatFieldImageFilter.cxx</div><div><span class="" style="white-space:pre">      </span>: contains the body of the function defined in the header file and included the file </div><div><span class="" style="white-space:pre">             </span>"rtkCudaFlatFieldImageFilter.hcu" inorder to call wrapper function</div><div><br></div><div>  rtkCudaFlatFieldImageFilter.hcu</div><div><span class="" style="white-space:pre">     </span>: contains the function prototype of the wrapper function</div><div><br></div><div>  rtkCudaFlatFieldImageFilter.cu</div><div><span class="" style="white-space:pre"> </span>: contains the kernel function and the wrapper function in which the kernel function is called.</div><div><br></div><div>When building the project I am getting error as Error c2059 syntax error at ' <<<' " in rtkCudaFlatFieldImageFilter.cu  at kernel calling statement in Cuda Programming file.</div><div><br></div><div><b>So how should I compile the whole program?</b></div></div><div><br></div><div>My working environment is </div><div><br></div><div>Microsoft Windows 7 32bit.</div><div>Visual Studio 2013</div><div><div>CUDA ToolKit 6.5</div><div>GeForce 210 graphics card</div><div><br></div></div><div>Thanks and Regards</div><div><br></div><div>AMJAD</div></div>