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>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
e155af8704
Коммит
7b5765ec0e
@@ -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);
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user