better error message (and partial code clarification)
pep8 and doc
fixed stack level argument
Merge pull request #1200 from delallea/minor

Minor fixes
remove calls to deprecated renderString
more compact error message
fix indentation
ENH: CGemv now uses vector-vector dot when possible for increased speed (fixes issue #1145)
Merge pull request #1201 from goodfeli/shorter_error

Shorter error
Fix just inserted crash due to a new assert.

It is a todo to find a better fix, but to don't cause probleme, here is a work around.
Set the file in the compiledir, not the case. Some user set the compiledir directly, not the base_compiledir and this make that sometimes, the base_compiledir isn't working.
Merge pull request #1203 from nouiz/fix_cachelock

Fix cachelock
Added a verbosity flag to device_malloc.
Revert changes to device_malloc calls; overload instead.
Use nvcc_compiler.compile_str to compile something that is not a python module
Merge pull request #1205 from dwf/device_malloc_verbose_flag

Added a verbosity flag to device_malloc.
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.