unified-runtime
unified-runtime copied to clipboard
[NATIVECPU] Fix coverity warnings when handling reqd_work_group_size
This PR fixes some new coverity warnings reported in the Native CPU adapter:
-
mdNodeis defined withconst auto&to avoid copies - hProgram uses
unique_ptrto avoid leaks if we return early
This PR also adds the inclusion of <array> in program.hpp, fixing a build error on Windows.
llvm PR: https://github.com/intel/llvm/pull/13805
@PietroGhg all code owners must have approved PR's before adding the ready to merge label.
@PietroGhg all code owners must have approved PR's before adding the ready to merge label.
sorry @kbenzie, got all the approvals now