mid working status with cudamallocpitch