From 42a53a35d428ba78f97141b5c8ab3256e241ec70 Mon Sep 17 00:00:00 2001
From: Matteo Cicuttin <datafl4sh@toxicnet.eu>
Date: Sat, 15 May 2021 11:18:06 +0000
Subject: [PATCH] Fixed HIP compilation.

---
 include/kernels_gpu.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/kernels_gpu.h b/include/kernels_gpu.h
index 4c0df22..454c1df 100644
--- a/include/kernels_gpu.h
+++ b/include/kernels_gpu.h
@@ -176,10 +176,10 @@ gpu_compute_rk4_weighted_sum(double *out, const double *in, const double *k1,
 void
 gpu_compute_leapfrog_update(double *next, const double *curr, const double *soe,
     const double *tmp, const double *ie, size_t num_dofs, double dt,
-    cudaStream_t stream = 0);
+    gpuStream_t stream = 0);
 
 void
 gpu_compute_leapfrog_update(double *next, const double *curr,
     const double *tmp, const double *im, size_t num_dofs, double dt,
-    cudaStream_t stream = 0);
+    gpuStream_t stream = 0);
 
-- 
GitLab