On Sonntag 08 März 2009, Wish Gandhi wrote: > Hi!Is there any documentation for using the __constant__ construct with > pycuda. Specifically I want to be able to declare a constant array in the > 'structure', and then fill in the constant structure from the host > interface. Somewhat similar to initializing the texture reference. I looked > on the pycuda help and did not find anything.
It's well-hidden, I admit. :) Module.get_global() is what you're looking for. I've added a blurb to the docs to make this more discoverable. Andreas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyCuda mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
