Add option to disable caching for a resource

Introduce CL_MEM_LOCALLY_UNCACHED_RESOURCE flag that can be used with
clCreateBufferWithPropertiesINTEL()

Change-Id: I9f208f00952cdca7482371ec21cbc57c08435b52
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2019-01-09 12:56:38 +01:00
committed by sys_ocldev
parent 3a11da8ec8
commit 2d321cb557
9 changed files with 236 additions and 71 deletions

View File

@@ -92,6 +92,7 @@ set(IGDRCL_SRCS_tests_api
${CMAKE_CURRENT_SOURCE_DIR}/cl_intel_accelerator_tests.inl
${CMAKE_CURRENT_SOURCE_DIR}/cl_intel_motion_estimation.cpp
${CMAKE_CURRENT_SOURCE_DIR}/cl_link_program_tests.inl
${CMAKE_CURRENT_SOURCE_DIR}/cl_mem_locally_uncached_resource_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/cl_release_command_queue_tests.inl
${CMAKE_CURRENT_SOURCE_DIR}/cl_release_context_tests.inl
${CMAKE_CURRENT_SOURCE_DIR}/cl_release_event_tests.inl