Use nvcc_compiler.compile_str to compile something that is not a python module
add py_module argument to GCC_compiler.compile_str
Merge pull request #1206 from lamblin/nvcc_compiler_not_pymodule

Make compile_str able to compile a lib that is not a Python module
Cast indices to intp rather than intc.

The intent was correctly described in the comment - to cast to int32 on 32-bit machines and to int64
on 64-bit.  However, numpy.intc is not correct type to achieve that because it has the size of C int and
is 32-bit always.  The correct type is numpy.intp which is defined as "large enough to fit a pointer."

See http://docs.scipy.org/doc/numpy/reference/arrays.scalars.html .
Merge pull request #1209 from abalkin/intc-cast-bug

Cast indices to intp rather than intc.
Add timming of GTX460 with cuda 5.0
fix comment.
Make sure we wait for the end of the call.
Use all close in a test to make it pass more frequently.
In the ShapeFeature, assert that the dict shape_of contains 1 for
dimensions that are broadcastable.

Also, a small modif to make those assert always work. Add a test for this.

This caused a crahs in the optimizer, as in one case, we didn't know
the shape was broadcastable by that path.
make table that better compare the different GPU and nvcc version.
replace deprecared code in python 2.6. The new code work for python 2.4