Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
abhilash1910 authored May 7, 2024
1 parent 890d4ff commit 6ec45aa
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions help_function/src/onedpl_test_group_load.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@ bool test_group_load_standalone() {

int main() {

return !(test_group_load<dpct::group::load_algorithm::BLOCK_LOAD_DIRECT>() && test_group_load<dpct::group::load_algorithm::BLOCK_LOAD_STRIPED>() && test_load_subgroup_striped_standalone() &&
test_group_load_standalone<dpct::group::load_algorithm::BLOCK_LOAD_STRIPED>() && test_group_load_standalone<dpct::group::load_algorithm::BLOCK_LOAD_DIRECT>());
return !(
// Calls test_group_load with blocked and striped strategies , should pass both results.
test_group_load<dpct::group::load_algorithm::BLOCK_LOAD_DIRECT>() && test_group_load<dpct::group::load_algorithm::BLOCK_LOAD_STRIPED>() &&
// Calls test_load_subgroup_striped_standalone and should pass
test_load_subgroup_striped_standalone() &&
// Calls test_group_load_standalone with blocked and striped strategies as free functions, should pass both results.
test_group_load_standalone<dpct::group::load_algorithm::BLOCK_LOAD_STRIPED>() && test_group_load_standalone<dpct::group::load_algorithm::BLOCK_LOAD_DIRECT>());
}

0 comments on commit 6ec45aa

Please sign in to comment.