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

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajeshii committed Mar 1, 2019
1 parent 00d8099 commit 44d959e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/operator/quantization/quantized_conv.cu
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,9 @@ class QuantizedCuDNNConvOp {
const TShape& fshape = filter.shape_;
const TShape& oshape = out.shape_;

CHECK_EQ(data.type_flag_, mshadow::kInt8) << "currently, uint8 quantization is only supported by CPU, "
"please switch to the context of CPU or int8 data type for GPU.";
CHECK_EQ(data.type_flag_, mshadow::kInt8)
<< "currently, uint8 quantization is only supported by CPU, "
"please switch to the context of CPU or int8 data type for GPU.";
// allocate workspace
const int dev_id = ctx.run_ctx.ctx.dev_id;
const int dev_mask = gpu::kDevMask;
Expand Down

0 comments on commit 44d959e

Please sign in to comment.