Revert "Add host API to query Device side context detail (#183)" (#196)

This reverts commit 105382710a.
This commit is contained in:
Edgar Gabriel
2025-07-07 16:51:44 -05:00
committed by GitHub
parent 105382710a
commit a66f782540
2 changed files with 0 additions and 19 deletions
-8
View File
@@ -263,14 +263,6 @@ rocshmem_ctx_t ROCSHMEM_HOST_CTX_DEFAULT;
return ROCSHMEM_SUCCESS;
}
__host__ void * rocshmem_get_device_ctx() {
void *ctx = nullptr;
CHECK_HIP(hipMemcpyFromSymbol(&ctx, HIP_SYMBOL(ROCSHMEM_CTX_DEFAULT),
sizeof(rocshmem_ctx_t)));
return ctx;
}
[[maybe_unused]] __host__ int rocshmem_my_pe() {
if (backend != nullptr) {
return backend->getMyPE();