diff --git a/projects/hip-tests/catch/unit/cooperativeGrps/hipCGGridGroupType_old.cc b/projects/hip-tests/catch/unit/cooperativeGrps/hipCGGridGroupType_old.cc index 9f908a5be6..a1f6cdaa87 100644 --- a/projects/hip-tests/catch/unit/cooperativeGrps/hipCGGridGroupType_old.cc +++ b/projects/hip-tests/catch/unit/cooperativeGrps/hipCGGridGroupType_old.cc @@ -312,19 +312,19 @@ TEST_CASE("Unit_hipCGGridGroupType_Basic") { return; } - void* (*kernel_func)(void); + void* kernel_func; SECTION("Default grid group API test") { - kernel_func = reinterpret_cast(kernel_cg_grid_group_type); + kernel_func = reinterpret_cast(kernel_cg_grid_group_type); } #if HT_AMD SECTION("Base type grid group API test") { - kernel_func = reinterpret_cast(kernel_cg_grid_group_type_via_base_type); + kernel_func = reinterpret_cast(kernel_cg_grid_group_type_via_base_type); } #endif SECTION("Public API grid group test") { - kernel_func = reinterpret_cast(kernel_cg_grid_group_type_via_public_api); + kernel_func = reinterpret_cast(kernel_cg_grid_group_type_via_public_api); } // Test for block_size in powers of 2