Skip to content

Commit

Permalink
[test] Remove single_pass_scan target duplicate (#1796)
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitriy Sobolev <dmitriy.sobolev@intel.com>
  • Loading branch information
dmitriy-sobolev committed Aug 27, 2024
1 parent f786e0d commit fbd529c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/kt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ if (ONEDPL_TEST_ENABLE_KT_ESIMD)
endif()

function (_generate_gpu_scan_test _data_per_work_item _work_group_size _type)

if ((NOT TARGET build-scan-kt-tests) AND (NOT TARGET run-scan-kt-tests))
add_custom_target(build-scan-kt-tests COMMENT "Build all scan kernel template tests")
add_custom_target(run-scan-kt-tests
Expand All @@ -144,7 +143,6 @@ function (_generate_gpu_scan_test _data_per_work_item _work_group_size _type)
set(_target_name "single_pass_scan_dpwi${_data_per_work_item}_wgs${_work_group_size}_${_type_short}")
set(_test_path "single_pass_scan.cpp")

#_generate_test_randomly(${_target_name} ${_test_path} ${_probability_permille})
_generate_test(${_target_name} ${_test_path})
if(TARGET ${_target_name})
add_dependencies(build-scan-kt-tests ${_target_name})
Expand All @@ -154,7 +152,6 @@ function (_generate_gpu_scan_test _data_per_work_item _work_group_size _type)
target_compile_definitions(${_target_name} PRIVATE TEST_WORK_GROUP_SIZE=${_work_group_size})
target_compile_definitions(${_target_name} PRIVATE TEST_TYPE=${_type})
endif()

endfunction()

function(_generate_gpu_scan_tests)
Expand All @@ -169,9 +166,6 @@ function(_generate_gpu_scan_tests)
endforeach()
endforeach()
endforeach()

_generate_test("single_pass_scan" "single_pass_scan.cpp")
target_compile_definitions("single_pass_scan" PRIVATE TEST_DATA_PER_WORK_ITEM=8 TEST_WORK_GROUP_SIZE=256 TEST_TYPE=uint32_t)
endfunction()

if (ONEDPL_TEST_ENABLE_KT_SYCL)
Expand Down

0 comments on commit fbd529c

Please sign in to comment.