Hello,

i want to start with pycuda and had a very beginner question:

ok, the header lines  are clear,
same to_gpu statement and the get statement,
thats it.

What is the problem defined in Python:

a=array[1000,100]

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

thanks in advance
Ernst

_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to