added CubDebugExit() around cudaMalloc() calls