Re: Any way to use GPU to make faster performance?

Paulo Carvalho <[email protected]> Mon, 1 Apr 2019 07:43:07 -0300
Newsgroups gmane.comp.lib.vtk.user
Message-ID <CA+xrYwi54SP2Y=ySvZ1=cqGq5Y2j6fs=9==dGLMyoNDL9sTfiw@mail.gmail.com>
--===============2066206233==
Content-Type: multipart/alternative; boundary="000000000000521aff058575b0f6"

--000000000000521aff058575b0f6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello,

     First, make sure all your graphics drivers are up-to-date.  Also,
check support for the features used by you program in your graphics card
itself.  It is a good practice in your code to query feature support before
using them.  Attempt to used an unsupported feature will either result in a
crash due to unhandled error or a default implementation in software
(results in severe performance penalty).  If you're a CUDA developer, you
can take a look at this:
https://devblogs.nvidia.com/how-query-device-properties-and-handle-errors-c=
uda-cc/
It's 7 years old, but worth reading.  Other API have similar feature query
and error handling calls.

good luck,

Paulo

Em dom, 31 de mar de 2019 =C3=A0s 16:46, Chiranjib Sur <sur.chiranjib@gmail=
.com>
escreveu:

> Please post the full error and the log with more details.
>
> Thanks and regards,
> Chiranjib
>
>
> On Sat, Mar 30, 2019 at 1:00 AM Shrabani Ghosh <[email protected]>
> wrote:
>
>> Hi,
>>
>> I am using VTK for simplex. When I am using a large data set, I am
>> getting a
>> runtime error. Is it possible to use GPU to make it faster?
>>
>>
>>
>> --
>> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Search the list archives at: http://markmail.org/search/?q=3Dvtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> https://vtk.org/mailman/listinfo/vtkusers
>>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=3Dvtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers
>

--000000000000521aff058575b0f6
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div>Hello,<br><br></div>=C2=A0=C2=A0=C2=
=A0=C2=A0 First, make sure all your graphics drivers are up-to-date.=C2=A0 =
Also, check support for the features used by you program in your graphics c=
ard itself.=C2=A0 It is a good practice in your code to query feature suppo=
rt before using them.=C2=A0 Attempt to used an unsupported feature will eit=
her result in a crash due to unhandled error or a default implementation in=
 software (results in severe performance penalty).=C2=A0 If you&#39;re a CU=
DA developer, you can take a look at this: <a href=3D"https://devblogs.nvid=
ia.com/how-query-device-properties-and-handle-errors-cuda-cc/">https://devb=
logs.nvidia.com/how-query-device-properties-and-handle-errors-cuda-cc/</a>=
=C2=A0 It&#39;s 7 years old, but worth reading.=C2=A0 Other API have simila=
r feature query and error handling calls.<br><br></div><div>good luck,<br><=
br></div><div>Paulo<br></div></div><br><div class=3D"gmail_quote"><div dir=
=3D"ltr" class=3D"gmail_attr">Em dom, 31 de mar de 2019 =C3=A0s 16:46, Chir=
anjib Sur &lt;<a href=3D"mailto:[email protected]">sur.chiranjib@gmai=
l.com</a>&gt; escreveu:<br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le=
ft:1ex"><div dir=3D"ltr">Please post the full error and the log with more d=
etails.=C2=A0<br clear=3D"all"><div><div dir=3D"ltr" class=3D"gmail-m_-1559=
807236007711149gmail_signature"><div dir=3D"ltr"><div style=3D"font-size:12=
.8px"><br></div><div style=3D"font-size:12.8px">Thanks and regards,</div><d=
iv style=3D"font-size:12.8px">Chiranjib</div></div></div></div><br></div><b=
r><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, =
Mar 30, 2019 at 1:00 AM Shrabani Ghosh &lt;<a href=3D"mailto:srbn.ghosh99@g=
mail.com" target=3D"_blank">[email protected]</a>&gt; wrote:<br></div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I am using VTK for simplex. When I am using a large data set, I am getting =
a<br>
runtime error. Is it possible to use GPU to make it faster?<br>
<br>
<br>
<br>
--<br>
Sent from: <a href=3D"http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.h=
tml" rel=3D"noreferrer" target=3D"_blank">http://vtk.1045678.n5.nabble.com/=
VTK-Users-f1224199.html</a><br>
_______________________________________________<br>
Powered by <a href=3D"http://www.kitware.com" rel=3D"noreferrer" target=3D"=
_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href=3D"http://www.kitware.c=
om/opensource/opensource.html" rel=3D"noreferrer" target=3D"_blank">http://=
www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href=3D"http://w=
ww.vtk.org/Wiki/VTK_FAQ" rel=3D"noreferrer" target=3D"_blank">http://www.vt=
k.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href=3D"http://markmail.org/search/?q=3Dvtk=
users" rel=3D"noreferrer" target=3D"_blank">http://markmail.org/search/?q=
=3Dvtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href=3D"https://vtk.org/mailman/listinfo/vtkusers" rel=3D"noreferrer" ta=
rget=3D"_blank">https://vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div>
_______________________________________________<br>
Powered by <a href=3D"http://www.kitware.com" rel=3D"noreferrer" target=3D"=
_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href=3D"http://www.kitware.c=
om/opensource/opensource.html" rel=3D"noreferrer" target=3D"_blank">http://=
www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href=3D"http://w=
ww.vtk.org/Wiki/VTK_FAQ" rel=3D"noreferrer" target=3D"_blank">http://www.vt=
k.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href=3D"http://markmail.org/search/?q=3Dvtk=
users" rel=3D"noreferrer" target=3D"_blank">http://markmail.org/search/?q=
=3Dvtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href=3D"https://vtk.org/mailman/listinfo/vtkusers" rel=3D"noreferrer" ta=
rget=3D"_blank">https://vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div>

--000000000000521aff058575b0f6--

--===============2066206233==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtkusers

--===============2066206233==--