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

Co-authored-by: RichardoLuo <14049555596@qq.com>
pull/997/head
RichardoLuo 3 years ago committed by binmakeswell
parent 8ca2a85682
commit 0e922da874

@ -9,7 +9,7 @@
#include "cuda_util.h"
class Context {
public:
public:
Context() : _stream(nullptr) {
CHECK_GPU_ERROR(cublasCreate(&_cublasHandle));
}
@ -30,7 +30,7 @@ public:
cublasHandle_t get_cublashandle() { return _cublasHandle; }
private:
private:
cudaStream_t _stream;
cublasHandle_t _cublasHandle;
};

Loading…
Cancel
Save