Fix quiet and fence of default context

* Update tinfo of default context


[ROCm/rocshmem commit: d5ea5868e3]
This commit is contained in:
avinashkethineedi
2024-10-22 16:15:26 +00:00
parent 08ab0b4a41
commit 82d296db73
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -263,7 +263,7 @@ __device__ int roc_shmem_wg_ctx_create(long option, roc_shmem_ctx_t *ctx) {
bool result{true};
if (get_flat_block_id() == 0) {
ctx->team_opaque = reinterpret_cast<TeamInfo *>(ROC_SHMEM_CTX_DEFAULT.team_opaque);
device_backend_proxy->create_ctx(option, ctx);
result = device_backend_proxy->create_ctx(option, ctx);
reinterpret_cast<Context *>(ctx->ctx_opaque)->setFence(option);
}
__syncthreads();