compute-runtime/opencl/test/unit_test
Mateusz Jablonski 7f5aa241b2 Correct creating shared unified memory
select device from context when device is not provided by user
return error when allocation fails

Related-To: NEO-4588
Change-Id: I2196ebf7c3e7908d1f8ca60c85ab2ef449997f9c
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-06-05 11:27:49 +02:00
..
accelerators Rename ocl DeviceFixture and add shared tests specific one 2020-06-01 15:44:05 +02:00
api Correct creating shared unified memory 2020-06-05 11:27:49 +02:00
aub Rename ocl DeviceFixture and add shared tests specific one 2020-06-01 15:44:05 +02:00
aub_mem_dump Use HwHelper to set extra AllocationData 2020-06-03 09:37:50 +02:00
aub_stream_mocks Add gpuAddressSpace param to AubManager::create() 2020-02-27 11:51:13 +01:00
aub_tests Rename ocl DeviceFixture and add shared tests specific one 2020-06-01 15:44:05 +02:00
built_ins Rename ocl DeviceFixture and add shared tests specific one 2020-06-01 15:44:05 +02:00
command_queue Correct tests: pass valid device bitfield 2020-06-03 16:38:49 +02:00
command_stream Correct tests: pass valid device bitfield [3/n] 2020-06-05 10:37:00 +02:00
compiler_interface Move shared tests to the new target [2/n] 2020-05-28 14:21:35 +02:00
config Reduce include paths in ULT 2020-03-27 14:11:45 +01:00
context Correct tests: pass valid device bitfield [3/n] 2020-06-05 10:37:00 +02:00
d3d_sharing Pass root device index to UpdateData 2020-05-27 08:55:21 +02:00
device Rename ocl DeviceFixture and add shared tests specific one 2020-06-01 15:44:05 +02:00
device_queue Add debug flag to override device enqueue support 2020-05-04 11:01:14 +02:00
event Rename ocl DeviceFixture and add shared tests specific one 2020-06-01 15:44:05 +02:00
execution_environment Move MockDevice to shared 2020-04-03 08:23:06 +02:00
execution_model remove kernelHeader from HeapInfo 2020-05-28 03:59:49 -07:00
fixtures Rename ocl DeviceFixture and add shared tests specific one 2020-06-01 15:44:05 +02:00
gen8 Rename ocl DeviceFixture and add shared tests specific one 2020-06-01 15:44:05 +02:00
gen9 Rename ocl DeviceFixture and add shared tests specific one 2020-06-01 15:44:05 +02:00
gen11 Rename ocl DeviceFixture and add shared tests specific one 2020-06-01 15:44:05 +02:00
gen12lp Move hw_helper files to shared directory 2020-06-03 16:28:17 +02:00
gen_common Modify makro HWTEST2_F and HWTEST2_P 2020-05-23 14:10:46 +02:00
gmm_helper Remove unnecessary platform() uses from gmm tests 2020-04-07 10:49:41 +02:00
gtpin remove kernelHeader from HeapInfo 2020-05-28 03:59:49 -07:00
helpers Correct tests: pass valid device bitfield [3/n] 2020-06-05 10:37:00 +02:00
indirect_heap Fix unit test issues 2020-03-16 09:34:55 +01:00
kernel Correct tests: pass valid device bitfield [3/n] 2020-06-05 10:37:00 +02:00
libult Rename ocl DeviceFixture and add shared tests specific one 2020-06-01 15:44:05 +02:00
linux Modify makro HWTEST2_F and HWTEST2_P 2020-05-23 14:10:46 +02:00
mem_obj Correct tests: pass valid device bitfield [3/n] 2020-06-05 10:37:00 +02:00
memory_manager ULT renaming: Host Pointer Manager 2020-06-05 10:50:50 +02:00
mock_gdi Rename memory_constants.h to constants.h 2020-04-02 14:19:39 +02:00
mock_gl Use isAuxEnabled flag for sharing images from OpenGL 2020-05-11 11:31:36 +02:00
mock_gmm Add absolute include paths 2020-02-23 23:49:12 +01:00
mocks Correct creating shared unified memory 2020-06-05 11:27:49 +02:00
mt_tests Fix DeviceQueue mt test 2020-05-26 16:34:05 +02:00
offline_compiler ocloc: dump files even if the entire build failed 2020-06-02 19:18:43 +02:00
os_interface Use HwHelper to set extra AllocationData 2020-06-03 09:37:50 +02:00
perf_tests Rename ocl DeviceFixture and add shared tests specific one 2020-06-01 15:44:05 +02:00
platform Add supportsOcl21Features value to capability table 2020-05-05 15:02:50 +02:00
profiling Correct tests: pass valid device bitfield [2/n] 2020-06-05 10:05:10 +02:00
program Cleanup header includes in tests 2020-06-02 19:40:26 +02:00
sampler Cleanup header includes in tests 2020-06-02 19:40:26 +02:00
scenarios Move MockDevice to shared 2020-04-03 08:23:06 +02:00
scheduler Cleanup header includes in tests 2020-06-02 19:40:26 +02:00
sharings Pass root device index to UpdateData 2020-05-27 08:55:21 +02:00
sku_info Add FtrLocalMemory flag 2020-05-16 21:17:22 +02:00
source_level_debugger Cleanup header includes in tests 2020-06-02 19:40:26 +02:00
test_dynamic_lib Reorganization directory structure [2/n] 2020-02-23 12:01:27 +01:00
test_files Add debug flag to print time stamps 2020-06-01 16:05:54 +02:00
test_macros Modify makro HWTEST2_F and HWTEST2_P 2020-05-23 14:10:46 +02:00
utilities Correct tests: pass valid device bitfield [2/n] 2020-06-05 10:05:10 +02:00
windows Modify makro HWTEST2_F and HWTEST2_P 2020-05-23 14:10:46 +02:00
CMakeLists.txt Modify makro HWTEST2_F and HWTEST2_P 2020-05-23 14:10:46 +02:00
abort.cpp Add absolute include paths 2020-02-23 23:49:12 +01:00
core_unit_tests_files.cmake Move shared tests to the new target [2/n] 2020-05-28 14:21:35 +02:00
custom_event_listener.h fix issues reported by clang-tidy 2020-05-25 12:15:40 +02:00
global_environment.cpp Remove redundant constructors from unit tests 2020-03-16 19:01:24 +01:00
global_environment.h Fix unit test issues 2020-03-16 09:34:55 +01:00
igdrcl_tests_pch.cpp Add absolute path to unit_tests 2020-02-23 17:18:04 +01:00
igdrcl_tests_pch.h Rename memory_constants.h to constants.h 2020-04-02 14:19:39 +02:00
lsan_suppressions.txt Fix build with USE_ASAN=ON 2020-05-22 13:17:50 +02:00
main.cpp Fix build with USE_ASAN=ON 2020-05-22 13:17:50 +02:00
options_unit_tests.cpp Reorganization directory structure [2/n] 2020-02-23 12:01:27 +01:00
ult_config_listener.cpp Refactor direct submission 2020-03-27 12:43:05 +01:00
ult_config_listener.h Add absolute include paths 2020-02-23 23:49:12 +01:00
ult_configuration.cpp Reorganization directory structure [2/n] 2020-02-23 12:01:27 +01:00
user_settings_32.user Add option to skip USM tests 2020-03-19 10:28:34 +01:00
user_settings_64.user Add option to skip USM tests 2020-03-19 10:28:34 +01:00