Pass arguments as references.
Iterate in loops using references.
Fix potential nullptr dereferences.
Conform to rule of three or rule of five.
Add `[[fallthrough]]` attributes to switch statements.
- In `IGC/AdaptorOCL/ocl_igc_interface/impl/igc_ocl_device_ctx_impl.h`
fix a race condition.
Some IGC code uses SSE4.1 intrinsics. The code is changed to avoid the
intrinsics usage for host platforms which do not support them.
Allows ARM builds and cross-builds
3d/common/iStdLib/types.h:91:32: error: '-pedantic' is not an option that controls warnings [-Werror=pragmas]
#pragma GCC diagnostic ignored "-pedantic" // warning: ISO C++ prohibits anonymous structs [-pedantic]
Change-Id: I7376783521228493f2d894cf807e7124072e4314
Signed-off-by: Dale Stimson <dale.b.stimson@intel.com>