Commit e81f54bb authored by Po-Yen, Chen's avatar Po-Yen, Chen
Browse files

Remove no-longer-used 'using' directives

parent 0fa35b29
...@@ -7,8 +7,6 @@ bool run_permute_bundle(const Problem& problem) ...@@ -7,8 +7,6 @@ bool run_permute_bundle(const Problem& problem)
{ {
constexpr std::size_t NumElemsInBundle = sizeof(BundleType) / sizeof(DataType); constexpr std::size_t NumElemsInBundle = sizeof(BundleType) / sizeof(DataType);
using std::begin, std::end;
const auto& input_bundle_shape = problem.shape; const auto& input_bundle_shape = problem.shape;
const auto& input_bundle_axes = problem.axes; const auto& input_bundle_axes = problem.axes;
...@@ -18,7 +16,7 @@ bool run_permute_bundle(const Problem& problem) ...@@ -18,7 +16,7 @@ bool run_permute_bundle(const Problem& problem)
Tensor<BundleType> output_bundle_tensor(output_bundle_shape); Tensor<BundleType> output_bundle_tensor(output_bundle_shape);
// initialize tensor by assigning DataType values // initialize tensor by assigning DataType values
using std::data, std::size; using std::data;
ck::utils::FillUniformDistribution<DataType>{-1.f, 1.f}(input_bundle_tensor.AsSpan<DataType>()); ck::utils::FillUniformDistribution<DataType>{-1.f, 1.f}(input_bundle_tensor.AsSpan<DataType>());
DeviceMem input_device_buf(input_bundle_tensor.GetElementSpaceSizeInBytes()); DeviceMem input_device_buf(input_bundle_tensor.GetElementSpaceSizeInBytes());
......
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
bool run_permute_element(const Problem& problem) bool run_permute_element(const Problem& problem)
{ {
using std::begin, std::end;
const auto& input_shape = problem.shape; const auto& input_shape = problem.shape;
const auto& input_axes = problem.axes; const auto& input_axes = problem.axes;
......
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