Hi Matthew,

On Mon, 4 Apr 2011 18:13:14 +0100, Matthew Graham <[email protected]> wrote:
> I'm trying to run the following code on my Mac laptop to multiply a 1D
> vector by a square matrix and then dot the result with another
> vector. It works fine when the dimension of the matrix and vector
> (DIM) is small but when at test values close the operating level (DIM
> ~ 1500 - 2000), it computes for a few seconds and then crashes the
> laptop with an unresponsive keyboard and screen.
> 
> I've run the wiki-examples MatrixmulTIled.py with the same dimensions
> and that works fine. I would be grateful if someone could point out
> what I am doing wrong.

Your code does not crash my Linux box, but it does lock up the GPU for a
few seconds, after which PyCUDA reports a launch failure, and the syslog
shows the typical 'GPU segfault' line:

[15532.668056] NVRM: Xid (0000:01:00): 13, 0003 00000000 000050c0
00000368 00000000 00000100

Maybe start by changing various indices to zero for debugging, just to
see which access is causing the issue.

Andreas

Attachment: pgppkHys2CY15.pgp
Description: PGP signature

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

Reply via email to