path.split and path.join instead of '/'
Replace occurences of ""%() by "".format()
Merge branch 'cuda_fix_compile' into cuda_hog