Thank You very much Andreas,
Your hint helps me very much.
I know now, where i have to go on
and where not.
On 09.07.2014 04:22, Andreas Kloeckner wrote:
elodw <apo(a)pdauf.de> writes:
i want to start with pycuda and had a very
ok, the header lines are clear,
same to_gpu statement and the get statement,
What is the problem defined in Python:
for i in range(1000-1):
for j in range(i+1,1000):
calculate euclidean difference between a[i] and a[j]
can i do this without using an extra kernel
if i need a kernel how looks it
I'm afraid, PyCUDA's arrays are not
currently smart enough to do this,
so you'll need to write your own kernel. I unfortunately can't write
that for you, but you should be able to take a look at the CUDA docs and
give it a shot.
Hope that helps,