Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] Remove single_pass_scan target duplicate #1796

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading