Skip to content
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
5 changes: 2 additions & 3 deletions sycl/unittests/Extensions/RootGroup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,9 @@ TEST(RootGroupTests, ValidNumWorkGroupsQuery) {
// Set up a mock callback to return a specific group count when queried
constexpr std::size_t mock_group_count = 42;
mock::getCallbacks().set_replace_callback(
"urKernelSuggestMaxCooperativeGroupCountExp", [](void *pParams) {
"urKernelSuggestMaxCooperativeGroupCount", [](void *pParams) {
auto params = static_cast<
ur_kernel_suggest_max_cooperative_group_count_exp_params_t *>(
pParams);
ur_kernel_suggest_max_cooperative_group_count_params_t *>(pParams);
**params->ppGroupCountRet = mock_group_count;
return UR_RESULT_SUCCESS;
});
Expand Down
Loading