These are needed for the cuda tests.