From 7b5765ec0e137db04b50d657ed83ea239be8dd58 Mon Sep 17 00:00:00 2001 From: erieaton-amd <153031726+erieaton-amd@users.noreply.github.com> Date: Tue, 4 Nov 2025 09:42:47 -0800 Subject: [PATCH] Fix rocshmem_ptr definition signature (#306) Makes the signature of the definition match the declaration in rocshmem.hpp. Signed-off-by: Eric Eaton --- src/rocshmem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rocshmem.cpp b/src/rocshmem.cpp index 69ad2b6a0c..59742a0d2f 100644 --- a/src/rocshmem.cpp +++ b/src/rocshmem.cpp @@ -418,7 +418,7 @@ static BackendType select_backend_type() { backend->heap.free(ptr); } -__host__ void * rocshmem_ptr(void * dest, int pe){ +__host__ void * rocshmem_ptr(const void * dest, int pe){ Context *ctx = reinterpret_cast(ROCSHMEM_HOST_CTX_DEFAULT.ctx_opaque);