From 0c996eb33092ad9475a7d0fca07b95b54283db19 Mon Sep 17 00:00:00 2001 From: Fritz Goebel Date: Mon, 26 Oct 2020 11:55:49 +0100 Subject: [PATCH] Fix wrong parameter types in gpu kernels --- common/matrix/dense_kernels.hpp.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/matrix/dense_kernels.hpp.inc b/common/matrix/dense_kernels.hpp.inc index b4649c40fdd..8adeaed9521 100644 --- a/common/matrix/dense_kernels.hpp.inc +++ b/common/matrix/dense_kernels.hpp.inc @@ -557,7 +557,7 @@ __global__ __launch_bounds__(default_block_size) void make_complex( template __global__ __launch_bounds__(default_block_size) void get_real( size_type num_rows, size_type num_cols, const ValueType *__restrict__ in, - size_type stride_in, to_complex *__restrict__ out, + size_type stride_in, remove_complex *__restrict__ out, size_type stride_out) { const auto tidx = thread::get_thread_id_flat(); @@ -572,7 +572,7 @@ __global__ __launch_bounds__(default_block_size) void get_real( template __global__ __launch_bounds__(default_block_size) void get_imag( size_type num_rows, size_type num_cols, const ValueType *__restrict__ in, - size_type stride_in, to_complex *__restrict__ out, + size_type stride_in, remove_complex *__restrict__ out, size_type stride_out) { const auto tidx = thread::get_thread_id_flat();