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>
[ROCm/rocshmem commit: 6e7277b544]
This commit is contained in:
کامیت شده توسط
GitHub
والد
192c549d40
کامیت
8837414042
@@ -254,7 +254,6 @@ void AMOBitwiseTester<T>::verifyResults(size_t size) {
|
||||
int global_id = get_flat_id(); \
|
||||
int n_threads = get_flat_grid_size(); \
|
||||
int n_wgs = get_grid_num_blocks(); \
|
||||
rocshmem_wg_init(); \
|
||||
rocshmem_wg_ctx_create(ctx_type, &ctx); \
|
||||
for (int i = 0; i < loop + skip; i++) { \
|
||||
T *ptr = compute_target_ptr<T>(dest, addr_mode, wg_id, i, n_wgs); \
|
||||
@@ -293,7 +292,6 @@ void AMOBitwiseTester<T>::verifyResults(size_t size) {
|
||||
end_time[wg_id] = wall_clock64(); \
|
||||
__syncthreads(); \
|
||||
rocshmem_wg_ctx_destroy(&ctx); \
|
||||
rocshmem_wg_finalize(); \
|
||||
} \
|
||||
template class AMOBitwiseTester<T>;
|
||||
|
||||
|
||||
مرجع در شماره جدید
Block a user