Cleanup/wg init (#260)

* remove wg_init and wg_finalize from functional tests

* Remove wg_init and wg_finalize from examples

* deprecate wg_init/finalize

* Updated docs

* Typo in documentation

---------

Co-authored-by: Yiltan <yiltan@amd.com>
Tá an tiomantas seo le fáil i:
Aurelien Bouteiller
2025-10-07 14:34:18 -04:00
tiomanta ag GitHub
tuismitheoir a1269e3db5
tiomantas 6e7277b544
D'athraigh 32 comhad le 23 breiseanna agus 68 scriosta
-2
Féach ar an gComhad
@@ -42,7 +42,6 @@ __global__ void WaveFrontPrimitiveTest(int loop, int skip,
__shared__ rocshmem_ctx_t ctx;
int wg_id = get_flat_grid_id();
rocshmem_wg_init();
rocshmem_wg_ctx_create(ctx_type, &ctx);
// Calculate start index for each wavefront
@@ -86,7 +85,6 @@ __global__ void WaveFrontPrimitiveTest(int loop, int skip,
}
rocshmem_wg_ctx_destroy(&ctx);
rocshmem_wg_finalize();
}
/******************************************************************************