Files
OpenCL-CTS/test_conformance/images/clCopyImage/CMakeLists.txt
Romaric Jodin be8b56d949 Test IMAGE1D_BUFFER in more scenario (#1806)
* cl_copy_images

* cl_get_info

* cl_fill_image

* cl_read_write_image

* kernel_image_methods

* IMAGE1D_BUFFER cannot be created with (USE_|ALLOC_|COPY_)_HOST_PTR

* do not allow mipmap with 1D buffer

* adjust M to be within maximum_sizes and max_pixels

* remove unused variables

* make sure M will never be 0

* fix region[0] after refactoring removing mipmap

* fix formatting

* format with clang-format-11

* fix image1d_buffer creation with gEnablePitch

* add missing case in switch

* use align_malloc when CL version is at least 2.0

* use CL_DEVICE_NUMERIC_VERSION and align_free

* fix free of pitch buffer

* fix formatting

* fix formatting

* fix data->is_aligned
2024-04-16 08:48:05 -07:00

23 lines
466 B
CMake

set(MODULE_NAME CL_COPY_IMAGES)
set(${MODULE_NAME}_SOURCES
main.cpp
test_copy_1D.cpp
test_copy_1D_array.cpp
test_copy_2D.cpp
test_copy_2D_2D_array.cpp
test_copy_2D_3D.cpp
test_copy_2D_array.cpp
test_copy_3D.cpp
test_copy_3D_2D_array.cpp
test_copy_1D_buffer.cpp
test_copy_generic.cpp
test_loops.cpp
../common.cpp
)
set_gnulike_module_compile_flags("-Wno-unused-but-set-variable")
include(../../CMakeCommon.txt)