Unverified Commit 522753f2 authored by cyanguwa's avatar cyanguwa Committed by GitHub
Browse files

Remove used function ternary_pw_op_create (#167)



remove used function ternary_pw_op_create
Signed-off-by: default avatarCharlene Yang <charleney@nvidia.com>
Co-authored-by: default avatarCharlene Yang <charleney@nvidia.com>
parent 4ae9c1a0
...@@ -148,23 +148,6 @@ static cudnn_frontend::Operation binary_pw_op_create( ...@@ -148,23 +148,6 @@ static cudnn_frontend::Operation binary_pw_op_create(
return pw_op_created; return pw_op_created;
} }
static cudnn_frontend::Operation ternary_pw_op_create(
cudnn_frontend::Tensor const &xDesc,
cudnn_frontend::Tensor const &bDesc,
cudnn_frontend::Tensor const &tDesc,
cudnn_frontend::Tensor const &yDesc,
cudnn_frontend::PointWiseDesc const &pwDesc) {
auto pw_op_created = cudnn_frontend::OperationBuilder(
CUDNN_BACKEND_OPERATION_POINTWISE_DESCRIPTOR)
.setxDesc(xDesc)
.setbDesc(bDesc)
.settDesc(tDesc)
.setyDesc(yDesc)
.setpwDesc(pwDesc)
.build();
return pw_op_created;
}
static cudnn_frontend::Tensor createAmax( static cudnn_frontend::Tensor createAmax(
const std::string& amax_tensor_name, const std::string& amax_tensor_name,
const cudnn_frontend::Tensor& prevBlockOutputTensor, const cudnn_frontend::Tensor& prevBlockOutputTensor,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment