compute-runtime/opencl/test/unit_test/api
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
..
gl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
CMakeLists.txt Add clSetProgramReleaseCallback function implementation 2020-05-15 10:11:15 +02:00
additional_extensions_tests.cpp
api_tests_wrapper1.cpp
api_tests_wrapper2.cpp
api_tests_wrapper3.cpp Add clSetProgramReleaseCallback function implementation 2020-05-15 10:11:15 +02:00
cl_add_comment_to_aub_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_api_tests.cpp Move MockDevice to shared 2020-04-03 08:23:06 +02:00
cl_api_tests.h Remove PlatformFixture from ApiFixture 2020-04-28 14:54:41 +02:00
cl_build_program_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_clone_kernel_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_compile_program_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_create_buffer_tests.cpp Add new API properties queries 2020-05-27 18:50:58 +02:00
cl_create_command_queue_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_create_command_queue_with_properties_tests.cpp Add new API properties queries 2020-05-27 18:50:58 +02:00
cl_create_context_from_type_tests.inl Remove PlatformFixture from ApiFixture 2020-04-28 14:54:41 +02:00
cl_create_context_tests.inl Add debug flag to enable support for context with multiple root devices 2020-04-28 17:51:41 +02:00
cl_create_image_tests.cpp Add new API properties queries 2020-05-27 18:50:58 +02:00
cl_create_kernel_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_create_kernels_in_program_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_create_perf_counters_command_queue_tests.inl
cl_create_pipe_tests.inl Add supportsPipes HW capability 2020-05-05 12:12:08 +02:00
cl_create_program_with_binary_tests.inl Add ClDevice function to query OCL2.1 support 2020-05-08 13:37:19 +02:00
cl_create_program_with_built_in_kernels_tests.cpp Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_create_sampler_tests.inl
cl_create_sampler_with_properties_tests.inl Add new API properties queries 2020-05-27 18:50:58 +02:00
cl_create_sub_buffer_tests.inl
cl_create_sub_devices_tests.inl Correct sub device related device info queries 2020-05-22 10:08:57 +02:00
cl_create_user_event_tests.inl
cl_enqueue_barrier_tests.inl
cl_enqueue_barrier_with_wait_list_tests.inl
cl_enqueue_copy_buffer_rect_tests.inl Move hwInfo to root device environment 2020-03-10 17:13:08 +01:00
cl_enqueue_copy_buffer_to_image_tests.inl
cl_enqueue_copy_image_tests.inl Clang-format: restore sorting includes 2020-02-24 10:22:30 +01:00
cl_enqueue_copy_image_to_buffer_tests.inl
cl_enqueue_fill_buffer_tests.inl Clang-format: restore sorting includes 2020-02-24 10:22:30 +01:00
cl_enqueue_fill_image_tests.inl Clang-format: restore sorting includes 2020-02-24 10:22:30 +01:00
cl_enqueue_image_tests.inl
cl_enqueue_map_buffer_tests.inl
cl_enqueue_map_image_tests.inl
cl_enqueue_marker_tests.inl
cl_enqueue_marker_with_wait_list_tests.inl
cl_enqueue_migrate_mem_objects_tests.inl
cl_enqueue_native_kernel_tests.inl
cl_enqueue_nd_range_kernel_tests.inl
cl_enqueue_read_buffer_rect_tests.inl Clang-format: restore sorting includes 2020-02-24 10:22:30 +01:00
cl_enqueue_read_buffer_tests.inl Remove PlatformFixture from ApiFixture 2020-04-28 14:54:41 +02:00
cl_enqueue_read_image_tests.inl
cl_enqueue_svm_free_tests.inl Remove PlatformFixture from ApiFixture 2020-04-28 14:54:41 +02:00
cl_enqueue_svm_map_tests.inl Remove PlatformFixture from ApiFixture 2020-04-28 14:54:41 +02:00
cl_enqueue_svm_mem_fill_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_enqueue_svm_memcpy_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_enqueue_svm_migrate_mem_tests.cpp Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_enqueue_svm_unmap_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_enqueue_task_tests.inl
cl_enqueue_unmap_mem_object_tests.inl
cl_enqueue_verify_memory.inl Change signature of CommandStreamReceiver::expectMemory 2020-03-19 15:59:18 +01:00
cl_enqueue_wait_for_events_tests.inl
cl_enqueue_write_buffer_rect_tests.inl Clang-format: restore sorting includes 2020-02-24 10:22:30 +01:00
cl_enqueue_write_buffer_tests.inl Clang-format: restore sorting includes 2020-02-24 10:22:30 +01:00
cl_enqueue_write_image_tests.inl
cl_finish_tests.inl
cl_flush_tests.inl
cl_function_pointers_tests.inl
cl_get_context_info_tests.inl Don't allow for creating context with multiple root devices 2020-04-10 15:57:21 +02:00
cl_get_device_and_host_timer.inl Rename ocl DeviceFixture and add shared tests specific one 2020-06-01 15:44:05 +02:00
cl_get_device_ids_tests.inl Remove PlatformFixture from ApiFixture 2020-04-28 14:54:41 +02:00
cl_get_device_info_tests.inl Add ClDevice function to query OCL2.1 support 2020-05-08 13:37:19 +02:00
cl_get_event_profiling_info_tests.inl Update getInfo function 2020-05-21 17:06:28 +02:00
cl_get_extension_function_address_for_platform_tests.inl Remove PlatformFixture from ApiFixture 2020-04-28 14:54:41 +02:00
cl_get_extension_function_address_tests.inl Add a clMemBlockingFreeINTEL function 2020-03-20 13:27:29 +01:00
cl_get_image_info_tests.inl Update getInfo function 2020-05-21 17:06:28 +02:00
cl_get_image_params_tests.inl Move MockDevice to shared 2020-04-03 08:23:06 +02:00
cl_get_kernel_arg_info_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_get_kernel_info_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_get_kernel_max_concurrent_work_group_count_intel_tests.inl
cl_get_kernel_sub_group_info_khr_tests.inl Always return SIMD size from subgroup query. 2020-04-21 16:03:44 +02:00
cl_get_kernel_sub_group_info_tests.inl Update Kernel::getSubGroupInfo 2020-04-23 16:31:45 +02:00
cl_get_kernel_suggested_local_work_size_intel_tests.inl Allow null global work offset. 2020-04-17 09:59:11 +02:00
cl_get_kernel_work_group_info_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_get_mem_object_info_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_get_pipe_info_tests.inl Add new API properties queries 2020-05-27 18:50:58 +02:00
cl_get_platform_ids_tests.inl Move VariableBackup to shared 2020-04-02 13:42:41 +02:00
cl_get_platform_info_tests.inl Add new clGetPlatformInfo queries 2020-05-29 12:45:05 +02:00
cl_get_program_build_info_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_get_program_info_tests.inl Return error when device does not support Intermediate Language Programs 2020-04-28 18:30:06 +02:00
cl_get_supported_image_formats_tests.inl Add ClDevice function to query OCL2.1 support 2020-05-08 13:37:19 +02:00
cl_icd_get_platform_ids_khr_tests.inl Remove PlatformFixture from ApiFixture 2020-04-28 14:54:41 +02:00
cl_intel_accelerator_tests.inl Update getInfo function 2020-05-21 17:06:28 +02:00
cl_intel_motion_estimation.cpp Update getInfo function 2020-05-21 17:06:28 +02:00
cl_intel_tracing_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_link_program_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_mem_locally_uncached_resource_tests.cpp Move cmd parse files to shared directory 2020-03-31 23:31:29 +02:00
cl_release_command_queue_tests.inl Remove PlatformFixture from ApiFixture 2020-04-28 14:54:41 +02:00
cl_release_context_tests.inl
cl_release_event_tests.inl
cl_release_kernel_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_release_mem_obj_tests.inl
cl_release_program_tests.inl
cl_retain_mem_obj_tests.inl
cl_retain_release_command_queue_tests.inl Remove PlatformFixture from ApiFixture 2020-04-28 14:54:41 +02:00
cl_retain_release_context_tests.inl
cl_retain_release_device_tests.inl Remove PlatformFixture from ApiFixture 2020-04-28 14:54:41 +02:00
cl_retain_release_sampler_tests.inl
cl_set_default_device_command_queue_tests.inl Add debug flag to override device enqueue support 2020-05-04 11:01:14 +02:00
cl_set_event_callback_tests.inl Clang-format: restore sorting includes 2020-02-24 10:22:30 +01:00
cl_set_kernel_arg_svm_pointer_tests.inl Rename ocl DeviceFixture and add shared tests specific one 2020-06-01 15:44:05 +02:00
cl_set_kernel_exec_info_tests.inl Refactor OCL api tests 2020-04-27 10:40:17 +02:00
cl_set_mem_object_destructor_callback_tests.inl
cl_set_performance_configuration_tests.inl
cl_set_program_release_callback.inl Add clSetProgramReleaseCallback function implementation 2020-05-15 10:11:15 +02:00
cl_set_program_specialization_constant_tests.inl
cl_svm_alloc_tests.inl Add method to get device bitfield from context 2020-04-28 21:26:11 +02:00
cl_svm_free_tests.inl Rename platformDevices -> defaultHwInfo [1/n] 2020-03-24 10:59:20 +01:00
cl_unified_shared_memory_tests.inl Correct creating shared unified memory 2020-06-05 11:27:49 +02:00
cl_unload_compiler_tests.inl
cl_unload_platform_compiler_tests.inl