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>
Tá an tiomantas seo le fáil i:
tiomanta ag
GitHub
tuismitheoir
e155af8704
tiomantas
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);
|
||||
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir