Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix gpu build
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhennanQin committed Apr 9, 2019
1 parent b904f0d commit b695486
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/operator/quantization/dequantize.cu
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace mxnet {
namespace op {

NNVM_REGISTER_OP(_contrib_dequantize)
.set_attr<FCompute>("FStatefulCompute<gpu>", DequantizeForward<gpu>);
.set_attr<FStatefulCompute>("FStatefulCompute<gpu>", DequantizeForward<gpu>);

} // namespace op
} // namespace mxnet
2 changes: 1 addition & 1 deletion src/operator/quantization/quantize_v2.cu
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace mxnet {
namespace op {

NNVM_REGISTER_OP(_contrib_quantize_v2)
.set_attr<FCompute>("FStatefulCompute<gpu>", QuantizeV2Forward<cpu>);
.set_attr<FStatefulCompute>("FStatefulCompute<gpu>", QuantizeV2Forward<gpu>);

} // namespace op
} // namespace mxnet

0 comments on commit b695486

Please sign in to comment.