-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature](mluOpSgetrf2): add LU parameter #105
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -256,7 +256,8 @@ enum OpType { | |
DYNAMIC_POINT_TO_VOXEL_BACKWARD = 404; | ||
DYNAMIC_POINT_TO_VOXEL_FORWARD = 405; | ||
EXPAND = 5; | ||
FFT = 65536; | ||
FFT = 65536; | ||
SGETRF2 = 65537; | ||
FILL = 13199; | ||
FOCAL_LOSS_SIGMOID_BACKWARD = 12322; | ||
FOCAL_LOSS_SIGMOID_FORWARD = 15000; | ||
|
@@ -426,6 +427,7 @@ message Node { | |
optional OpTensorParam op_tensor_param = 101; // OpTensorParam | ||
optional BatchMatMulBCastParam batch_matmul_bcast_param = 132; // param | ||
optional FFTParam fft_param = 65536; // param | ||
optional Sgetrf2Param sgetrf2_param = 65537 ;//param | ||
optional DCNParam dcn_param = 405; | ||
optional LogcumsumexpParam logcumsumexp_param = 19980423; | ||
optional LgammaParam lgamma_param = 202435; | ||
|
@@ -1119,6 +1121,11 @@ message FFTParam { | |
optional float scale_factor = 4 [default = 1.0]; | ||
} | ||
|
||
// param to call Sgetrf2() | ||
message Sgetrf2Param { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sgetrf2改成lu吧 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sgetrf2改成xgetrf,不是LU There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 已修改 |
||
optional int32 mode =1 [default = 1]; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 缺少inplace的参数 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 这里不支持inplace There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. https://github.com/Reference-LAPACK/lapack/blob/master/SRC/dgetrf2.f#L69 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 这个我们在最初时是做的原位的,但后来对接时需求更改为了非原位的 |
||
} | ||
|
||
// param to call mluOpRoiPoolingForward() | ||
message RoiPoolingForwardParam { | ||
optional float spatial_scale = 1 [default = 1]; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
XGETRF