[cut]
You can pass architecture (option "arch"), e.g. sm_21, to compiler.
Unfortunately it seems that many high-level functionalities,
including GPUArray, do not allow for passing this argument
through to pycuda.compiler.compile.

Question to the group - can you see any (easy) way of extending
PyCUDA to allow for this?

The easiest way for now would be to change line 209 in
pycuda/compiler.py, in function compile().
Instead of 
arch = "sm_%d%d" % Context.get_device().compute_capability()
put
arch = "sm_10"
or the highest computing capability you want that works.

Best regards.

-- 
Tomasz Rybak  GPG/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A  488E C654 FB33 2AD5 9860
http://member.acm.org/~tomaszrybak

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to