Hello , i am trying to make a code in pycuda which computes electromagnetic fields.
My problem is that 1) When i alter block and grid , the program may or may not return values. 2) When i alter also the number of points (Rs = points of currents , Rp=points of where to compute) it also gives me or not results .When i put both numPointsRs and numPointsRp to 1000 it shows me "pycuda._driver.MemoryError: cuLaunchKernel failed: out of memory ". 3) If i run the code serial (in pycuda) i get different results..But ,i read somewhere that running serial in cuda may result in random behaviour? Now, i am giving you the full code , i don't expect to study it but maybe someone with experience can spot something that i can't. Thank you! -- View this message in context: http://pycuda.2962900.n2.nabble.com/altering-block-and-grid-alters-return-values-tp7574809.html Sent from the PyCuda mailing list archive at Nabble.com. _______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
