pin memory for the gpu solver