mirror of https://github.com/Jittor/Jittor
update cusparse trans
This commit is contained in:
parent
02c3173def
commit
ece4e3efaa
|
@ -36,7 +36,7 @@ static inline cudaDataType get_dtype(NanoString dtype) {
|
|||
return CUDA_R_32F;
|
||||
}
|
||||
static inline cusparseOperation_t get_trans_type(bool trans) {
|
||||
if (trans == true) return CUSPARSE_OPERATION_TRANSPOSE;
|
||||
if (trans) return CUSPARSE_OPERATION_TRANSPOSE;
|
||||
else return CUSPARSE_OPERATION_NON_TRANSPOSE;
|
||||
}
|
||||
} // jittor
|
Loading…
Reference in New Issue