mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
EnableDeviceUsmAllocationPool and EnableHostUsmAllocationPool for device and host allocations respectively. Pool size will be set to flag value * MB. Allocation size threshold to be pooled is 1MB. Pools are created per context. Related-To: NEO-9700 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
21 lines
804 B
CMake
21 lines
804 B
CMake
#
|
|
# Copyright (C) 2018-2023 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
set(IGDRCL_SRCS_tests_context
|
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
|
${CMAKE_CURRENT_SOURCE_DIR}/context_get_info_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/context_multi_device_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/context_negative_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/context_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/context_usm_memory_pool_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/driver_diagnostics_enqueue_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/driver_diagnostics_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/driver_diagnostics_tests.h
|
|
${CMAKE_CURRENT_SOURCE_DIR}/get_supported_image_formats_tests.cpp
|
|
)
|
|
target_sources(igdrcl_tests PRIVATE ${IGDRCL_SRCS_tests_context})
|
|
add_subdirectories()
|