HW3L Performance improvement

Re-using global device memory, thus eliminating another cudaMalloc()