mirror of https://github.com/hpcaitech/ColossalAI
[NFC] polish colossalai/kernel/cuda_native/csrc/kernels/include/context.h code style (#956)
Co-authored-by: RichardoLuo <14049555596@qq.com>pull/997/head
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…
Reference in New Issue