compute-runtime/opencl/test/unit_test/offline_compiler
Patryk Wrobel 44e1f1ba4b Remove redundant copying of std::vectors
Usage of initializer list in for loop to iterate over heavy types
has bad consequences. std::initialize_list is only a view and its
data is silently created as T[N]. Therefore, if someone uses
std::vector with it, it will cause deep-copying of the elements.

This change introduces usage of pointers on std::initializer_list
to perform a shallow-copy of an addresses. Furthermore, it adds
const references in few places, where copy is not needed.

Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-08-16 09:27:16 +02:00
..
decoder Ocloc: Enhance platforms support for disasm option 2022-08-12 14:38:33 +02:00
gen8 Move files between shared/test/common/helpers and shared/test/unit_test/helpersi 2022-08-10 15:23:12 +02:00
gen9 Correct typo 2022-07-14 10:13:12 +02:00
gen12lp per gen/per sku TEST_F/TEST_P refactor 2022-07-06 23:13:46 +02:00
mock Restore old device id design in ocloc 2022-07-19 15:55:13 +02:00
segfault_test Move files between shared/test/common/helpers and shared/test/unit_test/helpersi 2022-08-10 15:23:12 +02:00
xe_hpc_core Ocloc: New AOT design implementation 2022-06-14 13:20:45 +02:00
xe_hpg_core Ocloc: New AOT design implementation 2022-06-14 13:20:45 +02:00
CMakeLists.txt CMake: don't include shared/test/unit_test when shared tests are skipped 1/n 2022-08-09 11:41:09 +02:00
environment.h clang-tidy configuration cleanup 2022-05-11 14:02:04 +02:00
main.cpp ocloc tests: handle SIGSEGV and SIGABRT 2022-07-19 10:05:26 +02:00
ocloc_api_tests.cpp Slightly improve "ocloc ids" output 2022-07-28 11:48:58 +02:00
ocloc_arg_helper_tests.cpp Add -config flag to ocloc 2022-07-05 11:36:01 +02:00
ocloc_concat_tests.cpp feat(ocloc): concatenate multiple fat binaries 2022-06-27 13:08:51 +02:00
ocloc_fatbinary_tests.cpp Remove redundant copying of std::vectors 2022-08-16 09:27:16 +02:00
ocloc_fatbinary_tests.h Setting default device id for acronym 2022-07-15 12:28:58 +02:00
ocloc_fcl_facade_tests.cpp Refactor and test initialization of FCL in ocloc 2022-04-22 10:25:16 +02:00
ocloc_fcl_facade_tests.h remove unused include 2022-06-28 10:59:30 +02:00
ocloc_igc_facade_tests.cpp Refactor and test initialization of IGC in ocloc 2022-04-19 12:15:34 +02:00
ocloc_igc_facade_tests.h remove unused include 2022-06-28 10:59:30 +02:00
ocloc_product_config_tests.cpp Setting default device id for acronym 2022-07-15 12:28:58 +02:00
ocloc_product_config_tests.h remove unused includes 2022-06-27 22:59:18 +02:00
ocloc_tests_configuration.cpp
ocloc_validator_tests.cpp CMake: don't include shared/test/unit_test when shared tests are skipped 1/n 2022-08-09 11:41:09 +02:00
offline_compiler_tests.cpp Move files between shared/test/common/helpers and shared/test/unit_test/helpersi 2022-08-10 15:23:12 +02:00
offline_compiler_tests.h remove unused include 2022-06-28 10:59:30 +02:00
offline_linker_tests.cpp Refactor and test initialization of IGC in ocloc 2022-04-19 12:15:34 +02:00
offline_linker_tests.h remove unused include 2022-06-28 10:59:30 +02:00
stdout_capturer.h remove unused include 2022-06-28 10:59:30 +02:00