[IE CLDNN] fix warnings from gcc-9 compiler (#1431)
This commit is contained in:
parent
8b44f4343d
commit
fc3f9af923
@ -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)
|
||||
{
|
||||
|
@ -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,
|
||||
|
@ -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) {}
|
||||
|
Loading…
Reference in New Issue
Block a user