[Rtk-users] About SART with CUDA

Simon Rit simon.rit at creatis.insa-lyon.fr
Mon Mar 11 08:13:31 EDT 2013


Please continue using the mailing list. It's hard too say, maybe the volume
is too big or too small for your GPU. Have you tried doing "make test" to
see if the problem is related to this particular reconstruction or if this
is a more general problem? What is the size of the projection images and
the volume that you use?
Simon


On Mon, Mar 11, 2013 at 11:52 AM, 강세룡 <seryongkang at naver.com> wrote:

> Hi.
>
>
>
> This is the line giving this error.
>
>
>
> :  In rtkCudaForwardProjectionImageFilter.cu  line : 251   >> error
> message is invalid texture reference
>
>
>
>   // Set texture parameters
>
>   tex_vol.normalized = false;                      // access with
> normalized texture coordinates
>
>   tex_vol.filterMode = cudaFilterModeLinear;      // linear interpolation
>
>   tex_vol.addressMode[0] = cudaAddressModeClamp;  // clamp texture
> coordinates
>
>   tex_vol.addressMode[1] = cudaAddressModeClamp;
>
>   // Bind 3D array to 3D texture
>
>   cudaBindTextureToArray(tex_vol, (cudaArray*)dev_vol, channelDesc);
>
>   CUDA_CHECK_ERROR;   --------------->>> this is line 251
>
>
>
>
>
> and :
>
>
>
> In rtkCudaBackProjectionImageFilter,.cu   line : 251 >> error message is
> invalid device function
>
>
>
>     kernel <<< dimGrid, dimBlock >>> ( dev_vol,
>
>                                            make_int3(vol_dim[0],
> vol_dim[1], vol_dim[2]),
>
>                                            blocksInY,
> 1.0f/(float)blocksInY );
>
>     }
>
>   CUDA_CHECK_ERROR; ------------>>> this is line 251
>
>
>
>
>
> I can't understand about this error.....
>
>
>
> Please help me, simon.
>
>
>
>
>
> Thanks.
>
> -seryong
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20130311/8f1cee41/attachment-0009.html>


More information about the Rtk-users mailing list