int threadsPerBlock = 256;
int blocksPerGrid = (n + threadsPerBlock - 1) / threadsPerBlock;
addOne<<<blocksPerGrid, threadsPerBlock>>>(d_data, n);
