Fix rocshmem_ptr definition signature (#306)

Makes the signature of the definition match the declaration in rocshmem.hpp.

Signed-off-by: Eric Eaton <erieaton@amd.com>
Этот коммит содержится в:
erieaton-amd
2025-11-04 09:42:47 -08:00
коммит произвёл GitHub
родитель e155af8704
Коммит 7b5765ec0e
+1 -1
Просмотреть файл
@@ -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<Context *>(ROCSHMEM_HOST_CTX_DEFAULT.ctx_opaque);