From d2c1c0d73a602b77ae2eac1570e9f95141c0c666 Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Tue, 17 Sep 2024 11:58:24 +0200 Subject: wip --- modules/remote-hip/examples/hip_transfer_data.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/remote-hip/examples/hip_transfer_data.cpp') diff --git a/modules/remote-hip/examples/hip_transfer_data.cpp b/modules/remote-hip/examples/hip_transfer_data.cpp index f112c68..2742715 100644 --- a/modules/remote-hip/examples/hip_transfer_data.cpp +++ b/modules/remote-hip/examples/hip_transfer_data.cpp @@ -19,6 +19,12 @@ __global__ void print_array_vals(saw::dataat(i).get(); printf("%d ", v); } + + auto raw_d = val->get_raw_data(); + + for(uint64_t i = 0; i < orig_len; ++i){ + printf("%d ", raw_d[i]); + } printf("\n"); } -- cgit v1.2.3