[IE CLDNN] fix warnings from gcc-9 compiler (#1431)

This commit is contained in:
Sergey Shlyapnikov 2020-07-24 20:13:29 +03:00 committed by GitHub
parent 8b44f4343d
commit fc3f9af923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -1896,6 +1896,9 @@ struct ImageFormat : public cl_image_format
image_channel_data_type = type;
}
//! \brief Default constexpr copy constructor.
constexpr ImageFormat(const ImageFormat& rhs) = default;
//! \brief Assignment operator.
ImageFormat& operator = (const ImageFormat& rhs)
{

View File

@ -60,7 +60,7 @@ FullyConnected_fs_byx_fsv32::Parent::DispatchData FullyConnected_fs_byx_fsv32::S
runInfo.efficiency = FORCE_PRIORITY_5;
return std::move(runInfo);
return runInfo;
}
JitConstants FullyConnected_fs_byx_fsv32::GetJitConstants(const fully_connected_params& params,

View File

@ -74,7 +74,7 @@ std::string get_undef_jit(kernels_cache::source_code org_source_code) {
undefs += "#endif\n";
}
return std::move(undefs);
return undefs;
}
std::string reorder_options(const std::string& org_options) {
@ -159,7 +159,7 @@ kernels_cache::sorted_code kernels_cache::get_program_source(const kernels_code&
current_bucket.kernels_counter++;
}
return std::move(scode);
return scode;
}
kernels_cache::kernels_cache(gpu_toolkit& context, uint32_t prog_id) : _context(context), _prog_id(prog_id) {}