[Rtk-users] Type of CudaDataManager::m_BufferSize

Chao Wu wuchao04 at gmail.com
Thu Jan 5 13:10:03 EST 2017


Thanks. The changes are identical to the ones I made in my own testing
version. It works well without any problems in the past few weeks.

Regards, Chao
Sent from Huawei Nexus 6P

2017年1月5日 下午5:57,"Simon Rit" <simon.rit at creatis.insa-lyon.fr>写道:

> Hi,
> I have modified it, check that this is enough:
> https://github.com/SimonRit/RTK/commit/ef23a0668a70c8a874eb2e2718e5f3
> 0b41f27f14
> Thinking about this, I think it fixes one issue encountered by the user
> louie <ghostcz at hotmail.com> with large images (that I discussed with him
> during the training last June). Maybe he could confirm if he still follows
> the project...
> Thanks again,
> Simon
>
> On Thu, Dec 15, 2016 at 12:15 PM, Chao Wu <wuchao04 at gmail.com> wrote:
>
>> Hi all,
>>
>> In utilities\ITKCudaCommon\include\itkCudaDataManager.h the type
>> of CudaDataManager::m_BufferSize is unsigned int, which prevents
>> buffering >4GB image data in CUDA memory. In the same file, the type
>> of GPUMemPointer::m_BufferSize is size_t which looks more proper.
>>
>> Is there any special reason for this unsigned int type? I am going to
>> change the type from unsigned int to size_t and test what will happen, but
>> if anyone already have the experience please let me know. Many thanks.
>>
>> Best regards,
>> Chao
>>
>> _______________________________________________
>> Rtk-users mailing list
>> Rtk-users at public.kitware.com
>> http://public.kitware.com/mailman/listinfo/rtk-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20170105/99b8f190/attachment.html>


More information about the Rtk-users mailing list