[NFC] polish colossalai/kernel/cuda_native/csrc/kernels/include/cuda_util.h code style (#939)

This commit is contained in:
yuxuan-lou 2022-05-13 15:37:03 +08:00 committed by binmakeswell
parent 872aa413c2
commit 44b6f8947b

View File

@ -20,7 +20,8 @@ void check_gpu_error(T result, char const *const func, const char *const file,
template <typename T> template <typename T>
void print_vec(const T *outv, std::string outn, int num_output_ele); void print_vec(const T *outv, std::string outn, int num_output_ele);
template <typename T> T *cuda_malloc(size_t ele_num); template <typename T>
T *cuda_malloc(size_t ele_num);
void cuda_free(void *pdata); void cuda_free(void *pdata);