Files
compute-runtime/unit_tests/mem_obj/CMakeLists.txt
Hoppe, Mateusz 4c4e682bc7 Set correct offset for images created from buffer
- images from subbuffer with non-zero offset relative to
parent buffer didn't have correct Surface Address offset

Change-Id: I6ae2b87f8c9d19e40ec14a29b5eadc7401db18ad
2018-05-24 18:12:55 +02:00

55 lines
2.8 KiB
CMake

# Copyright (c) 2018, Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
set(IGDRCL_SRCS_tests_mem_obj
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
${CMAKE_CURRENT_SOURCE_DIR}/buffer_pin_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/buffer_set_arg_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/buffer_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/create_image_format_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/destructor_callback_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/get_mem_object_info_subbufer_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/get_mem_object_info_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/image_from_subbuffer_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/image1d_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/image2d_from_buffer_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/image2d_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/image3d_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/image_array_size_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/image_format_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/image_redescribe_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/image_release_mapped_ptr_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/image_set_arg_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/image_snorm_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/image_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/image_tiled_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/image_transfer_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/image_validate_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/map_operations_handler_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mem_obj_destruction_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/mem_obj_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/nv12_image_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/packed_yuv_image_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/pipe_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/sub_buffer_tests.cpp
${CMAKE_CURRENT_SOURCE_DIR}/zero_copy_tests.cpp
)
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_mem_obj})