[Rtk-users] CUDA displaced detector filter failure

Chao Wu wuchao04 at gmail.com
Wed Oct 22 16:38:24 EDT 2014


Hi Simon,

The error went away! Thanks for the great work.

Regards, Chao

2014-10-22 18:29 GMT+02:00 Simon Rit <simon.rit at creatis.insa-lyon.fr>:

> Hi Chao,
> I have hunted the bug and I fixed an issue:
>
> https://github.com/SimonRit/RTK/commit/415756016d25edaf0fe999a46f3b5ad231b0e032
> Can you try again?
> Simon
>
> On Tue, Oct 14, 2014 at 1:42 PM, Chao Wu <wuchao04 at gmail.com> wrote:
>
>> Thanks Simon, however this does not solve the issue here.
>> I'll go back to this later to try to reproduce it with sample data, but
>> now I am a bit busy with something else. Sorry at the moment.
>>
>> Regards, Chao
>>
>> 2014-10-14 10:01 GMT+02:00 Simon Rit <simon.rit at creatis.insa-lyon.fr>:
>>
>>> Hi Chao,
>>> Yesterday, I investigated the dynamic analysis log and found a problem
>>> in the filter that has been corrected (see commit here
>>> <https://github.com/SimonRit/RTK/commit/fef0b132211377fbabaa812d1ce0c3ec3c0827e3>).
>>> Could you check if it fixes your issue please?
>>> Thanks,
>>> Simon
>>>
>>> On Fri, Oct 10, 2014 at 2:30 PM, Simon Rit <
>>> simon.rit at creatis.insa-lyon.fr> wrote:
>>>
>>>> Hi Chao,
>>>> Thanks for the report, it's new so  we might have left special cases
>>>> behind... sorry. Is this something that occurs when launching rtkfdk,
>>>> rtkwangdisplaceddetectorweighting or one of your own applications?
>>>> It would be very useful if you could manage to reproduce this with a
>>>> set of command lines that would simulate data first and then apply the
>>>> weighting, similar to what's here
>>>> <http://wiki.openrtk.org/index.php/RTK/Scripts/FDK> for example.
>>>> Regards,
>>>> Simon
>>>>
>>>> On Fri, Oct 10, 2014 at 10:58 AM, Chao Wu <wuchao04 at gmail.com> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I am trying the new cuda displaced detector filter but
>>>>> got cudaErrorLaunchFailure. This error was returned by cudaFree(dev_geom)
>>>>> at the end of the code, but since this error type is not registered with
>>>>> cudaFree(), it would be from previous, asynchronous launches. By
>>>>> using cudaDeviceSynchronize() I found the error coming after calling
>>>>> kernel_displaced_weight<<<...>>>(...).
>>>>>
>>>>> One interesting thing is that when the error occurs depends on the
>>>>> number of projections processed at once (controlled by the --subset=N
>>>>> option of rtkfdk.exe for example). If I use subset=1 then it fails right
>>>>> with the first projection; if subset=2 it fails at the 16th run when
>>>>> processing the 31st and 32nd projections; if subset=4, at the 14th run; if
>>>>> subset=16 (default), at the 6th run; and so on.
>>>>>
>>>>> The input region of each projection is about 1944x200 (the 2nd
>>>>> dimension differs a little bit of course) and the output region is then
>>>>> about 3888x200. A GTX580 card is used.
>>>>>
>>>>> Any suggestions and comments on this? Thanks.
>>>>>
>>>>> 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/20141022/9d52bc6d/attachment-0009.html>


More information about the Rtk-users mailing list