Skip to content

Commit

Permalink
restructure conv3dcoo. add 'bool cutlass' to interface in binary.cc and
Browse files Browse the repository at this point in the history
binary.h.
  • Loading branch information
umiswing committed Sep 23, 2022
1 parent 605f11f commit 38f2f83
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions paddle/phi/infermeta/sparse/binary.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ void Conv3dInferMeta(const MetaTensor& x,
const int groups,
const bool subm,
const std::string& key,
const bool cutlass,
MetaTensor* out,
MetaTensor* rulebook,
MetaTensor* counter) {
Expand Down
1 change: 1 addition & 0 deletions paddle/phi/infermeta/sparse/binary.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void Conv3dInferMeta(const MetaTensor& x,
const int groups,
const bool subm,
const std::string& key,
const bool cutlass,
MetaTensor* out,
MetaTensor* rulebook,
MetaTensor* counter);
Expand Down
2 changes: 1 addition & 1 deletion paddle/phi/kernels/sparse/cpu/conv_kernel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ void Conv3dCooKernel(const Context& dev_ctx,
const int groups,
const bool subm,
const std::string& key,
bool cutlass,
const bool cutlass,
SparseCooTensor* out,
DenseTensor* rulebook,
DenseTensor* counter) {
Expand Down
4 changes: 2 additions & 2 deletions paddle/phi/kernels/sparse/gpu/conv_kernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void Conv3dCooGPUKernel(const GPUContext& dev_ctx,
const int groups,
const bool subm,
const std::string& key,
bool cutlass,
const bool cutlass,
SparseCooTensor* out,
DenseTensor* rulebook,
DenseTensor* counter) {
Expand Down Expand Up @@ -396,7 +396,7 @@ void Conv3dCooKernel(const Context& dev_ctx,
const int groups,
const bool subm,
const std::string& key,
bool cutlass,
const bool cutlass,
SparseCooTensor* out,
DenseTensor* rulebook,
DenseTensor* counter) {
Expand Down

0 comments on commit 38f2f83

Please sign in to comment.