check_cuda_errors: err evaluated three times
check_cuda_errors: err evaluated three times

Due to the rule of C macro, when you write:
check_cuda_errors(cudaAPI(233));
You actually did `cudaAPI(233)` three times if it result in error.
You'll lose the infomation of first call to cudaAPI(233).
Please use a temperate variable to save it.
yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi