Added non-working patches to fix cuda 6.0